EnQue
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
x |
|
x |
|
x |
|
x |
|
x |
|
x |
Function Usage
Pushes a tensor to a queue.
Prototype
template <typename T> __aicore__ inline bool EnQue(const LocalTensor<T>& tensor)
Parameters
Parameter |
Input/Output |
Meaning |
|---|---|---|
tensor |
Input |
Specified tensor. |
Constraints
None
Returns
- true: The tensor is successfully added to the queue.
- false: The queue is full and the addition fails.
Example
For details, see Example.
Parent topic: TSCM