MindSpore Python API
MindArmour Python API
MindSpore Hub Python API
MindSpore Serving Python API
A decorator which is used to register an operator.
Note
‘op_info’ should represent the operator information by string with json format. The ‘op_info’ will be added into oplib.
op_info (str or dict) – operator information in json format.
Function, returns a decorator for op info register.