19 #include "../C/fully_connected.h" 20 #include "primitive.hpp" 70 float activation_slp = 0.0f,
101 std::vector<std::reference_wrapper<const primitive_id>> get_dependencies()
const override 109 void update_dto(dto& dto)
const override 112 dto.bias =
bias.c_str();
fully_connected(const dto *dto)
Constructs a copy from basic C API cldnn_fully_connected_desc.
Represents data padding information.
primitive_id bias
Primitive id containing bias data.
Performs forward fully connected layer (inner product). Also supports built-in Relu cldnn_activation_...
bool with_activation
Enable Relu activation.
primitive_id weights
Primitive id containing weights data.
std::string primitive_id
Unique id of a primitive within a topology.
fully_connected(const primitive_id &id, const primitive_id &input, const primitive_id &weights, const primitive_id &bias="", bool with_activation=false, float activation_slp=0.0f, const padding &output_padding=padding())
Constructs fully connected layer.
float activation_negative_slope
Relu activation slope.
fixed_size_vector_ref input
List of ids of input primitives.
base class for all primitives implementations.
padding output_padding
Requested output padding.
Performs forward fully connected layer (inner product). Also supports built-in Relu cldnn_activation_...