operator[]
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function
Returns a new GlobalTensor based on the input offset.
Prototype
1 | __aicore__ inline GlobalTensor operator[](const uint64_t offset) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
offset |
Input |
Number of elements to offset. |
Returns
Returns a GlobalTensor with the specified offset.
Restrictions
None
Parent topic: GlobalTensor