Skip to content

Commit

Permalink
add uint8 reduce (apache#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
piiswrong authored and tqchen committed Sep 14, 2016
1 parent 7b810f7 commit 223b45a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mshadow/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,11 @@ template<>
MSHADOW_XINLINE int MinValue<int>(void) {
return INT_MIN;
}
/*! \brief minimum value of int */
template<>
MSHADOW_XINLINE uint8_t MinValue<uint8_t>(void) {
return 0;
}
} // namespace limits

/*! \brief sum reducer */
Expand Down

0 comments on commit 223b45a

Please sign in to comment.