ScopeFeature Constructor and Destructor
Description
Constructs/Destructs a ScopeFeature object.
Prototype
APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
ScopeFeature(std::string sub_type, int32_t num, std::string suffix = "", std::string sub_scope_mask = "", int32_t step = 0); ScopeFeature(const char_t *sub_type, int32_t num, const char_t *suffix, const char_t *sub_scope_mask, int32_t step = 0); ScopeFeature(ScopeFeature const &feature); ScopeFeature &operator=(ScopeFeature const &feature); ~ScopeFeature() override;
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
sub_type |
Input |
Subscope type. |
num |
Input |
Number of subscopes whose type is the same as the value of sub_type in a scope. |
suffix |
Input |
Suffix of a scope (LastName, excluding the index) If the scope name is fastrcnn_predictions/strided_slice_1 and sub_scope_mask is set to strided_slice, the matching is successful. |
sub_scope_mask |
Input |
Mask of the subscope suffix (LastName, excluding the index). If the subscope name is fastrcnn_predictions/strided_slice_1 amd sub_scope_mask is set to slice, the matching is successful. |
step |
Input |
Step. You do not need to set this parameter. Retain the default value 0. |
feature |
Input |
ScopeFeature object |
Returns
A ScopeFeature object
Exception Handling
None
Restrictions
None