--enable_scope_fusion_passes
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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.