• E
    Fixing duplicate struct name TensorSetConstant. (#5532) · 58b4c9af
    emailweixu 提交于
    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.
    58b4c9af
math_function.cc 12.0 KB