For details about the mapping between AI processors and Ascend products, see Ascend Product Overview.
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For the
For the
Adds an attribute and returns the current object. Chain calls are supported. The tool parses the attribute into trace data and shows it in args.
1 2 | template <Level levelAttr = level, typename T> inline Profiler &Attr(const char *attrName, const T value) |
Parameter |
Input/Output |
Description |
|---|---|---|
attrName |
Input |
Attribute name. |
value |
Input |
Attribute value, a number or a character string. |
Profiler &Current object. Chain calls are supported.