GetUserTag
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Obtains the tag information of a specified tensor block. You can perform different operations on tensors based on the tag information.
Prototype
1 | __aicore__ inline TTagType GetUserTag() const |
Parameters
None
Returns
Tag information of a specified tensor block. TTagType is defined as follows:
1 | using TTagType = int32_t |
Restrictions
None
Example
For details, see Example.
Parent topic: LocalTensor