|
| concatenation (const primitive_id &id, const std::vector< primitive_id > &input, const concatenation_axis axis, const padding &output_padding=padding()) |
|
| concatenation (const dto *dto) |
| Constructs a copy from C API (depth_concatenate)
|
|
const cldnn_primitive_desc * | get_dto () const override |
| Returns pointer to a C API primitive descriptor casted to cldnn_primitive_desc.
|
|
| primitive (const primitive_type_id &type, const primitive_id &id, const std::vector< primitive_id > &input, const padding &output_padding=padding()) |
|
| primitive (const cldnn_primitive_desc *dto) |
| Constructs a copy from basic C API cldnn_primitive_desc.
|
|
std::vector< std::reference_wrapper< primitive_id > > | dependecies () |
| Returns references to all primitive ids on which this primitive depends - inputs, weights, biases, etc.
|
|
std::vector< primitive_id > | dependecies () const |
| Returns copy of all primitive ids on which this primitive depends - inputs, weights, biases, etc.
|
|
| operator primitive_id () const |
| Implicit conversion to primiitive id.
|
|
Concatenation is used to concatenate multiple sources into one destination along specified dimension.
- all other dimensions (except the one along which concatenation take place) must have the same value in each source.
- order of arguments in primitive creation has impact on order of feature maps in output primitive.
- Alogrithm:
int outputIdx = 0
{
for(f : i.features)
{
output[outputIdx] = f
outputIdx += 1
}
}
- Where:
- input : data structure holding all source inputs for this primitive
- output : data structure holding output data for this primitive
- i.features : number of features in currently processed input
- outputIdx : index of destination feature
Definition at line 53 of file concatenation.hpp.