For details about the mapping between AI processors and Ascend products, see Ascend Product Overview.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For the
For the
Records the value of a metric class.
1 | def metric(self, metric_name, metric_value) |
Parameter |
Input/Output |
Description |
|---|---|---|
metric_name |
Input |
Metric name. |
metric_value |
Input |
Value. |
The profiler returns the current object. Chain calls are supported.