InferValueRangeFuncRegister Constructor and Destructor

Description

Constructs or destructs an object of class InferValueRangeFuncRegister.

Prototype

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

Operator inferValueRange function.

Returns

The InferValueRangeFuncRegister constructor returns an object of the InferValueRangeFuncRegister class.

Restrictions

This API registers the operator InferValueRangeFuncRegister function. This API is referenced by other header files and is not directly called by operator developers.