clDNN
cldnn::proposal Struct Reference
Inheritance diagram for cldnn::proposal:
Collaboration diagram for cldnn::proposal:

Public Types

typedef cldnn_proposal_desc dto
 

Public Member Functions

 proposal (const primitive_id &id, const primitive_id &cls_scores, const primitive_id &bbox_pred, const primitive_id &image_info, int max_proposals, float iou_threshold, int min_bbox_size, int feature_stride, int pre_nms_topn, int post_nms_topn, const std::vector< float > &ratios_param, const std::vector< float > &scales_param, const padding &output_padding=padding())
 
 proposal (const dto *dto)
 
- Public Member Functions inherited from cldnn::primitive_base< proposal, cldnn_proposal_desc >
const cldnn_primitive_descget_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_iddependecies () 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

int max_proposals
 
float iou_threshold
 
int min_bbox_size
 
int feature_stride
 
int pre_nms_topn
 
int post_nms_topn
 
std::vector< float > ratios
 
std::vector< float > scales
 
- 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.
 

Protected Member Functions

void update_dto (dto &dto) const override
 
- Protected Member Functions inherited from cldnn::primitive_base< proposal, cldnn_proposal_desc >
 primitive_base (const primitive_id &id, const std::vector< primitive_id > &input, const padding &output_padding=padding())
 
 primitive_base (const cldnn_proposal_desc *dto)
 
- Protected Member Functions inherited from cldnn::primitive
virtual std::vector< std::reference_wrapper< const primitive_id > > get_dependencies () const
 

Additional Inherited Members

- Protected Attributes inherited from cldnn::primitive
primitive_id_arr _input
 

Detailed Description

Definition at line 34 of file proposal.hpp.


The documentation for this struct was generated from the following file: