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 | def attr(self, key, value) |
Parameter |
Input/Output |
Description |
|---|---|---|
key |
Input |
Attribute name. |
value |
Input |
Attribute value. |
The profiler returns the current object. Chain calls are supported.