Skip to content

Commit 12619fc

Browse files
committed
fix a compile error
1 parent 8567d04 commit 12619fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paddle/fluid/operators/math/math_function.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ template struct SetConstant<platform::CPUDeviceContext, double>;
3030
template struct SetConstant<platform::CPUDeviceContext, int>;
3131
template struct SetConstant<platform::CPUDeviceContext, int64_t>;
3232
template struct SetConstant<platform::CPUDeviceContext, bool>;
33+
template struct SetConstant<platform::CPUDeviceContext, uint8_t>;
3334

3435
#define DEFINE_CPU_TRANS(RANK) \
3536
template struct Transpose<platform::CPUDeviceContext, platform::float16, \

0 commit comments

Comments
 (0)