A primitive to compute element-wise operations such as rectified linear unit (ReLU). More...
Classes | |
struct | dnnl::eltwise_forward |
Element-wise operations for forward propagation. More... | |
struct | dnnl::eltwise_backward |
Element-wise operations for backward propagation. More... | |
A primitive to compute element-wise operations such as rectified linear unit (ReLU).
Both forward and backward passes support in-place operation; that is, src and dst point to the same memory for forward pass, and diff_dst and diff_src point to the same memory for backward pass.