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 increment of a metric class.
1 | def metric_inc(self, metric_name, metric_value) |
Parameter |
Input/Output |
Description |
|---|---|---|
metric_name |
Input |
Metric name. |
metric_value |
Input |
Increment. A negative value indicates a decrease. |
The profiler returns the current object. Chain calls are supported.