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