AutoMappingFn
Function Usage
The callback function that implements automatic mapping.
Prototype
1
|
Status AutoMappingFn(const google::protobuf::Message *op_src, ge::Operator &op) |
Parameters
Constraints
If the attributes of the original TensorFlow operator are inconsistent with those of operators supported by AI processor, the AutoMappingFn function cannot be used in the callback function ParseParamsByOperatorFn. In this case, use the AutoMappingByOpFn API in ParseParamsByOperatorFn to automatically parse the attributes that can be mapped. For usage examples, see Examples.
Parent topic: OpRegistrationData