- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Maxim Shevtsov.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page