--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

This option cannot be used when --framework or -f is set to 1 to use the MindSpore network model.

Arguments

Argument: Directory (including the file 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

Examples

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 server where the AOE is located. In the following command, /home/Davinci/ is used as an example.

--op_name_map=/home/Davinci/opname_map.cfg

Dependencies and Restrictions

None