InferValueRangeFuncRegister Constructor and Destructor
Header File
#include <graph/operator_factory.h>
Function Usage
Constructs and destructs an object of class InferValueRangeFuncRegister.
Prototype
1 2 3 4 | InferValueRangeFuncRegister(const char_t *const operator_type, const WHEN_CALL when_call, const InferValueRangeFunc &infer_value_range_func) InferValueRangeFuncRegister(const char_t *const operator_type) ~InferValueRangeFuncRegister() = default |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
operator_type |
Input |
Operator type. |
when_call |
Input |
Scenario of infer function calls. |
infer_value_range_func |
Input |
InferValueRange function of the operator. |
Returns
Object of class InferValueRangeFuncRegister.
Constraints
This API registers the operator InferValueRangeFuncRegister function. This API is referenced by other header files and is not directly called by operator developers.
Parent topic: InferValueRangeFuncRegister