SetInferDataType
Function
Registers the DataType inference function. This API is required when the graph mode is used.
Prototype
1
|
OpDef &SetInferDataType(gert::OpImplRegisterV2::InferDataTypeKernelFunc func) |
Parameters
Returns
OpDef operator definition. For details, see OpDef.
Constraints
None
Parent topic: OpDef