For details about the mapping between AI processors and Ascend products, see Ascend Product Overview.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For the
For the
Defines the scope of a metric class. It defaults to global.
1 | def metric_scope(self, scope_name, scope_value=0) |
Parameter |
Input/Output |
Description |
|---|---|---|
scope_name |
Input |
Metric scope name. |
scope_value |
Input |
(Optional) Scope ID. The default value is 0. |
The profiler returns the current object. Chain calls are supported.