Accumulation Mode

Overview

// enums

enum dnnl::accumulation_mode;
enum dnnl_accumulation_mode_t;

// global functions

dnnl_accumulation_mode_t dnnl::convert_to_c(accumulation_mode mode);

Detailed Documentation

Global Functions

dnnl_accumulation_mode_t dnnl::convert_to_c(accumulation_mode mode)

Converts an accumulation mode enum value from C++ API to C API type.

Parameters:

mode

C++ API accumulation mode enum value.

Returns:

Corresponding C API accumulation mode enum value.