For details about the mapping between AI Processors and Ascend products, see Ascend Product Form Description.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Records the value of a metric class.
1 2 | template <typename T> inline Profiler &Metric(const char *metricName, T value) |
Parameter |
Input/Output |
Description |
|---|---|---|
metricName |
Input |
Metric name. |
value |
Input |
Value. |
Profiler &Current object. Chain calls are supported.