19 #include "../C/activation.h" 20 #include "primitive.hpp" 104 std::vector<std::reference_wrapper<const primitive_id>> get_dependencies()
const override 111 void update_dto(dto& dto)
const override primitive_id additional_params_input
PRelu activation slope input primitive id. Input x dimension should be equal to input feature size (o...
Represents data padding information.
Activation using rectified linear unit or parameterized rectified linear unit.
cldnn_activation_func
activation functions
activation(const primitive_id &id, const primitive_id &input, const primitive_id &additional_params_input, cldnn_activation_func activation_func, const padding &output_padding=padding())
Constructs activation with input per feature.
activation additional params
activation(const dto *dto)
Constructs a copy from basic C API cldnn_activation_desc.
cldnn_activation_additional_params additional_params
activation additional params.
const primitive_id id
Primitive's id.
cldnn_activation_func activation_func
activation function.
activation(const primitive_id &id, const primitive_id &input, cldnn_activation_func activation_func, cldnn_activation_additional_params additional_params={ 0.f, 0.f }, const padding &output_padding=padding())
Constructs Relu primitive.
std::string primitive_id
Unique id of a primitive within a topology.
fixed_size_vector_ref input
List of ids of input primitives.
base class for all primitives implementations.
padding output_padding
Requested output padding.
Activation using rectified linear unit or parameterized rectified linear unit.