clDNN
|
Normalizes results so they sum to 1. More...
#include <region_yolo.hpp>
Public Types | |
typedef cldnn_region_yolo_desc | dto |
Public Member Functions | |
region_yolo (const primitive_id &id, const primitive_id &input, const uint32_t coords, const uint32_t classes, const uint32_t num, const padding &output_padding=padding()) | |
Constructs region_yolo primitive. More... | |
region_yolo (const dto *dto) | |
Constructs a copy from C API cldnn_region_yolo_desc. | |
Public Member Functions inherited from cldnn::primitive_base< region_yolo, cldnn_region_yolo_desc > | |
const cldnn_primitive_desc * | get_dto () const override |
Returns pointer to a C API primitive descriptor casted to cldnn_primitive_desc. | |
Public Member Functions inherited from cldnn::primitive | |
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. | |
Static Public Member Functions | |
static primitive_type_id | type_id () |
Public Attributes | |
uint32_t | coords |
Defines a scope of a region yolo normalization. More... | |
uint32_t | classes |
uint32_t | num |
Public Attributes inherited from cldnn::primitive | |
const primitive_type_id | type |
Primitive's type id. | |
const primitive_id | id |
Primitive's id. | |
fixed_size_vector_ref | input |
List of ids of input primitives. | |
padding | output_padding |
Requested output padding. | |
Additional Inherited Members | |
Protected Member Functions inherited from cldnn::primitive_base< region_yolo, cldnn_region_yolo_desc > | |
primitive_base (const primitive_id &id, const std::vector< primitive_id > &input, const padding &output_padding=padding()) | |
primitive_base (const cldnn_region_yolo_desc *dto) | |
Protected Member Functions inherited from cldnn::primitive | |
virtual std::vector< std::reference_wrapper< const primitive_id > > | get_dependencies () const |
Protected Attributes inherited from cldnn::primitive | |
primitive_id_arr | _input |
Normalizes results so they sum to 1.
Definition at line 35 of file region_yolo.hpp.
|
inline |
Constructs region_yolo primitive.
id | This primitive id. |
input | Input primitive id. |
dimension | Defines a scope of normalization (see #dimension). |
Definition at line 43 of file region_yolo.hpp.
uint32_t cldnn::region_yolo::coords |
Defines a scope of a region yolo normalization.
Specific behaviour is determined by these parameters, as follows:
Definition at line 68 of file region_yolo.hpp.