CalcOpParam

Function Usage

Computes and allocates resources in the GenerateTask phase.

Prototype

1
OpImplRegisterV2 &CalcOpParam(OpCalcParamKernelFunc calc_op_param_func)

Parameters

Parameter

Input/Output

Description

calc_op_param_func

Input

OpCalcParamKernel function to be registered.

The OpCalcParamKernelFunc type is defined as follows:

1
using OpCalcParamKernelFunc = UINT32 (*)(ExeResGenerationContext* context);

Returns

OpImplRegisterV2 object of the operator, where the OpCalcParamKernelFunc function is registered.

Constraints

None