--op_name_map

Description

Sets the directory (including the 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

Applicability

Atlas 200/300/500 Inference Product

Atlas Training Series Product

Dependencies and Restrictions

None