19 #include "../C/normalize.h" 20 #include "primitive.hpp" 92 std::vector<std::reference_wrapper<const primitive_id>> get_dependencies()
const override 97 void update_dto(dto& dto)
const override Represents data padding information.
bool across_spatial
Determines if the normalization is done across or within spatial (see documentation above)...
float epsilon
Epsilon for not dividing by zero while normalizing.
primitive_id scale_input
Scale input primitive id with values needed for scaling after the normalization. Scale x dimension sh...
Normalizes the input using an L2 norm and multiplies the output with scale value. The scale can be eq...
Normalizes the input using an L2 norm and multiplies the output with scale value. The scale can be eq...
normalize(const dto *dto)
Constructs a copy from C API cldnn_normalize_desc.
std::string primitive_id
Unique id of a primitive within a topology.
fixed_size_vector_ref input
List of ids of input primitives.
normalize(const primitive_id &id, const primitive_id &input, const primitive_id &scale_input, const bool across_spatial=true, const float epsilon=1e-10f, const padding &output_padding=padding())
Constructs normalize primitive.
base class for all primitives implementations.
padding output_padding
Requested output padding.