enum dnnl_rounding_mode_t

Overview

Rounding mode. More…

#include <dnnl_types.h>

enum dnnl_rounding_mode_t
{
    dnnl_rounding_mode_environment,
    dnnl_rounding_mode_stochastic,
};

Detailed Documentation

Rounding mode.

Enum Values

dnnl_rounding_mode_environment

rounding mode dictated by the floating-point environment

dnnl_rounding_mode_stochastic

stochastic rounding mode where a random bias is added to the trailing mantissa bits before conversion.