asc2.GlobalTensor
- class asc2.GlobalTensor(*, handle: Value)
A global tensor is a contiguous ND-array of values in Global Memory.
Each element is of
dtypetype and number of elements is defined byshapevalues.- __init__(*, handle: Value) None
This constructor is not called by user. Use
global_tensor()function to define a global tensor.
Methods
__init__(*, handle)This constructor is not called by user.
from_ir(handle)to_ir()Attributes
dtypeTensor element type
shapeTensor shape
rankNumber of dimensions