Fixing duplicate struct name TensorSetConstant. (#5532)
TensorSetConstant struct is used both in math_function.cc and math_function.cu. Somehow the release version can correctly handle it. But in debug version, set_constant_with_place() in math_function.cu uses the TensorSetConstant in math_function.cc and causes crash.mobile_baidu
parent
edb22c2f0c
commit
58b4c9af34
Loading…
Reference in new issue