Visible to Intel only — GUID: GUID-5292C6D5-A147-458C-AB0C-A77BE5BDF7BD
Abs
AbsBackward
Add
AvgPool
AvgPoolBackward
BatchNormForwardTraining
BatchNormInference
BatchNormTrainingBackward
BiasAdd
BiasAddBackward
Clamp
ClampBackward
Concat
Convolution
ConvolutionBackwardData
ConvolutionBackwardWeights
ConvTranspose
ConvTransposeBackwardData
ConvTransposeBackwardWeights
Dequantize
Divide
DynamicDequantize
DynamicQuantize
Elu
EluBackward
End
Exp
GroupNorm
GELU
GELUBackward
HardSigmoid
HardSigmoidBackward
HardSwish
HardSwishBackward
Interpolate
InterpolateBackward
LayerNorm
LayerNormBackward
LeakyReLU
Log
LogSoftmax
LogSoftmaxBackward
MatMul
Maximum
MaxPool
MaxPoolBackward
Minimum
Mish
MishBackward
Multiply
Pow
PReLU
PReLUBackward
Quantize
Reciprocal
ReduceL1
ReduceL2
ReduceMax
ReduceMean
ReduceMin
ReduceProd
ReduceSum
ReLU
ReLUBackward
Reorder
Round
Select
Sigmoid
SigmoidBackward
SoftMax
SoftMaxBackward
SoftPlus
SoftPlusBackward
Sqrt
SqrtBackward
Square
SquaredDifference
StaticReshape
StaticTranspose
Subtract
Tanh
TanhBackward
TypeCast
Wildcard
enum dnnl_alg_kind_t
enum dnnl_normalization_flags_t
enum dnnl_primitive_kind_t
enum dnnl_prop_kind_t
enum dnnl_query_t
enum dnnl::normalization_flags
enum dnnl::query
struct dnnl_exec_arg_t
struct dnnl_primitive
struct dnnl_primitive_desc
struct dnnl::primitive
struct dnnl::primitive_desc
struct dnnl::primitive_desc_base
enum dnnl_rnn_direction_t
enum dnnl_rnn_flags_t
enum dnnl::rnn_direction
enum dnnl::rnn_flags
struct dnnl::augru_backward
struct dnnl::augru_forward
struct dnnl::gru_backward
struct dnnl::gru_forward
struct dnnl::lbr_augru_backward
struct dnnl::lbr_augru_forward
struct dnnl::lbr_gru_backward
struct dnnl::lbr_gru_forward
struct dnnl::lstm_backward
struct dnnl::lstm_forward
struct dnnl::rnn_primitive_desc_base
struct dnnl::vanilla_rnn_backward
struct dnnl::vanilla_rnn_forward
Visible to Intel only — GUID: GUID-5292C6D5-A147-458C-AB0C-A77BE5BDF7BD
struct dnnl::eltwise_forward
Overview
Elementwise unary operation forward propagation primitive. More…
#include <dnnl.hpp>
struct eltwise_forward: public dnnl::primitive
{
// structs
struct primitive_desc;
// construction
eltwise_forward();
eltwise_forward(const primitive_desc& pd);
eltwise_forward(
const primitive_desc& pd,
const std::vector<uint8_t>& cache_blob
);
};
Inherited Members
public:
// enums
enum kind;
// methods
handle<T, traits>& operator = (const handle<T, traits>&);
handle<T, traits>& operator = (handle<T, traits>&&);
void reset(T t, bool weak = false);
T get(bool allow_empty = false) const;
operator T () const;
operator bool () const;
bool operator == (const handle<T, traits>& other) const;
bool operator != (const handle& other) const;
const_dnnl_primitive_desc_t get_primitive_desc() const;
kind get_kind() const;
std::vector<uint8_t> get_cache_blob() const;
void execute(const stream& astream, const std::unordered_map<int, memory>& args) const;
handle();
handle();
handle();
handle();
Detailed Documentation
Elementwise unary operation forward propagation primitive.
Construction
eltwise_forward()
Default constructor. Produces an empty object.
eltwise_forward(const primitive_desc& pd)
Constructs an eltwise forward propagation primitive.
Parameters:
pd |
Primitive descriptor for an eltwise forward propagation primitive. |
eltwise_forward(
const primitive_desc& pd,
const std::vector<uint8_t>& cache_blob
)
Constructs an eltwise forward propagation primitive from a cache blob.
Parameters:
pd |
Primitive descriptor for an eltwise forward propagation primitive. |
cache_blob |
Cache blob. |