--enable_scope_fusion_passes

Applicability

Product

Supported (Yes/No)

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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

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.