19 #include "../C/upsampling.h" 20 #include "primitive.hpp" 61 float activation_slp = 0.0f,
96 void update_dto(
dto&
dto)
const override
upsampling(const dto *dto)
Constructs a copy from C API cldnn_upsampling_desc.
bool with_activation
Enables Relu activation.
upsampling nearest neighbor.
Represents data padding information.
Performs elementwise product of input and scale_input.
float activation_negative_slope
Relu activation slope.
upsampling nearest neighbor.
upsampling(const primitive_id &id, const primitive_id &input, uint32_t scale, uint32_t num_filter, upsampling_sample_type sample_type, bool with_activation=false, float activation_slp=0.0f, const padding &output_padding=padding())
Constructs upsampling primitive.
upsampling_sample_type
Sample mode for the upsampling layer.
Performs nearest neighbor/bilinear upsampling Also supports built-in Relu activation available by set...
uint32_t with_activation
Enables Relu activation.
cldnn_upsampling_sample_type
Sample mode for upsampling layer ( cldnn_upsampling_desc ).
Performs nearest neighbor/bilinear upsampling Also supports built-in Relu activation available by set...
float activation_negative_slope
Relu activation slope.
std::string primitive_id
Unique id of a primitive within a topology.
fixed_size_vector_ref input
List of ids of input primitives.
upsampling_sample_type sample_type
base class for all primitives implementations.
padding output_padding
Requested output padding.