Fix spelling in documents (#6948)
* Update roxygen2 doc. Co-authored-by: fis <jm.yuan@outlook.com>
This commit is contained in:
@@ -77,7 +77,7 @@ XGBOOST_DEVICE inline void Softmax(Iterator start, Iterator end) {
|
||||
|
||||
/*!
|
||||
* \brief Find the maximum iterator within the iterators
|
||||
* \param begin The begining iterator.
|
||||
* \param begin The beginning iterator.
|
||||
* \param end The end iterator.
|
||||
* \return the iterator point to the maximum value.
|
||||
* \tparam Iterator The type of the iterator.
|
||||
@@ -107,7 +107,7 @@ inline float LogSum(float x, float y) {
|
||||
|
||||
/*!
|
||||
* \brief perform numerically safe logsum
|
||||
* \param begin The begining iterator.
|
||||
* \param begin The beginning iterator.
|
||||
* \param end The end iterator.
|
||||
* \return the iterator point to the maximum value.
|
||||
* \tparam Iterator The type of the iterator.
|
||||
@@ -135,7 +135,7 @@ inline static bool CmpSecond(const std::pair<float, unsigned> &a,
|
||||
return a.second > b.second;
|
||||
}
|
||||
|
||||
// Redefined here to workaround a VC bug that doesn't support overloadng for integer
|
||||
// Redefined here to workaround a VC bug that doesn't support overloading for integer
|
||||
// types.
|
||||
template <typename T>
|
||||
XGBOOST_DEVICE typename std::enable_if<
|
||||
|
||||
Reference in New Issue
Block a user