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 2 | template <typename T> inline Profiler &MetricScope(const char *scopeName, T value) |
Parameter |
Input/Output |
Description |
|---|---|---|
scopeName |
Input |
Metric scope name. |
value |
Input |
Scope ID. |
Profiler &Current object. Chain calls are supported.