Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6408 Discussions

Documentation of repeated_type and getRepeatedMetaDataByName()

Deepak_C_R
Beginner
1,079 Views

Hi,

I was going through the cnn_custom_kernel sample code.

I have found the structure repeated_type and the function getRepeatedMetaDataByName().

But in the header file, the documentation is not explaining properly, It's having only following:

        /*
        Utility function used for retriveing repeated metadata objects by their names
        * \param [in] custom_layer_descriptor descriptor
        * \param [in] name of the metadata as defined in the prototxt parameter
        \returns repeated_type object
        */
        KERNELS_UTILS_API repeated_type getRepeatedMetaDataByName(custom_layer_descriptor desc, const char* name);

 

Can somebody help me to what getRepeatedMetaDataByName() is doing and the variables in repeated_type ?

 

Thank You.

0 Kudos
2 Replies
Maxim_S_Intel
Employee
1,079 Views

Hi,

this function is for retrieving parameters, that might have multiple values.

E.g. "offset: 20, 24". So you get the parameter by name, then get numbers of values, and then retrieve value by  value.

 

0 Kudos
Deepak_C_R
Beginner
1,079 Views

Thank you Maxim Shevtsov.

0 Kudos
Reply