19 #include "../C/softmax.h" 20 #include "primitive.hpp" 41 CLDNN_DECLATE_PRIMITIVE(
softmax)
46 normalize_f = cldnn_softmax_normalize_f,
47 normalize_x = cldnn_softmax_normalize_x,
48 normalize_y = cldnn_softmax_normalize_y,
49 normalize_fyx = cldnn_softmax_normalize_fyx,
83 void update_dto(
dto&
dto)
const override Represents data padding information.
softmax(const primitive_id &id, const primitive_id &input, const dimension_t dimension=normalize_fyx, const padding &output_padding=padding())
Constructs softmax primitive.
cldnn_softmax_dimension dimension
Defines a scope of a single softmax normalization.
softmax(const dto *dto)
Constructs a copy from C API cldnn_softmax_desc.
dimension_t
Enum type to specify softmax's normalization scope (see dimension).
const primitive_id id
Primitive's id.
dimension_t dimension
Defines a scope of a single softmax normalization.
std::string primitive_id
Unique id of a primitive within a topology.
Normalizes results so they sum to 1.
fixed_size_vector_ref input
List of ids of input primitives.
cldnn_softmax_dimension
Enum type to specify softmax's normalization scope (see cldnn_softmax_desc::dimension).
base class for all primitives implementations.
padding output_padding
Requested output padding.
Normalizes results so they sum to 1. The scope of normalization is defined by a member dimension...