Intel® oneAPI Deep Neural Network Developer Guide and Reference

ID 768875
Date 2/29/2024
Public
Document Table of Contents

struct dnnl_post_ops

Overview

An opaque structure for a chain of post operations. More…

Detailed Documentation

An opaque structure for a chain of post operations.

dnnl_post_ops can be used to perform some (trivial) operations like accumulation or eltwise after certain primitives like convolution.

Post operations might be combined together, making a chain of post operations. For instance one can configure convolution followed by accumulation followed by eltwise. This might be especially beneficial for residual learning blocks.

WARNING:
Of course not all combinations are supported, so the user should handle errors accordingly.

Supported post operations:

  • accumulation (base primitive: convolution)

  • eltwise (base primitive: convolution)