--enable_scope_fusion_passes

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 scope fusion pattern (or scope fusion patterns separated by commas) to take effect during build.

Scope fusion patterns (either built-in or custom) are classified into the following two types:

  • General scope fusion patterns: applicable to all networks. They are enabled by default and cannot be manually changed.
  • Non-general scope fusion patterns: applicable to specific networks. By default, they are disabled. You can use --enable_scope_fusion_passes to enable selected fusion patterns.

For the full list of supported fusion patterns, see TensorFlow Parser Scope Fusion Pattern Reference.

See Also

None

Argument

Argument: registered fusion pattern names.

Format: Separate fusion pattern names by commas (,), for example, ScopePass1,ScopePass2, ....

Suggestions and Benefits

None

Example

--enable_scope_fusion_passes=ScopePass1,ScopePass2

Restrictions

This option applies only to TensorFlow networks. To view logs related to fusion patterns during model conversion, set --log to at least the warning level.