--op_name_map

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Sets the directory (including the file name) of the mapping configuration file of a custom operator. The function of a custom operator varies according to the network. You can specify the mapping between the custom operator and the actual custom operator running on the network.

See Also

When --framework is set to 1, this option is invalid in the MindSpore framework, but the model will be successfully converted.

Argument

Argument: Directory (including the name) of the custom operator mapping configuration file.

Format: The directory (including the file name) can contain letters, digits, underscores (_), hyphens (-), periods (.), and Chinese characters.

Suggestions and Benefits

None

Example

The following is an example of the content of the custom operator mapping configuration file (opname_map.cfg is assumed as the file name):

OpA:Network1OpA

Upload the configured opname_map.cfg file to any directory on the ATC server, for example, $HOME/module.

--op_name_map=$HOME/module/opname_map.cfg

Dependencies and Restrictions

None