enum dnnl::rounding_mode¶
Overview¶
Rounding mode. More…
#include <dnnl.hpp> enum rounding_mode { environment = dnnl_rounding_mode_environment, stochastic = dnnl_rounding_mode_stochastic, };
Detailed Documentation¶
Rounding mode.
Enum Values¶
environment
rounding mode dictated by the floating-point environment
stochastic
stochastic rounding mode where a random bias is added to the trailing mantissa bits before conversion.