IRON
1.0
|
Public Member Functions | |
def | __init__ (self, type[np.ndarray] arr_type) |
Sequence[int] | shape (self) |
np.dtype | dtype (self) |
np.ndarray | arr_type (self) |
TensorAccessPattern | default_tap (self) |
MemRef | op (self) |
def | op (self, MemRef op) |
Private Attributes | |
_arr_type | |
_op | |
A handle to I/O data in the Runtime
def iron.runtime.data.RuntimeData.__init__ | ( | self, | |
type[np.ndarray] | arr_type | ||
) |
Construct a handle to a Runtime buffer. Args: arr_type (type[np.ndarray]): The type of the I/O data.
np.ndarray iron.runtime.data.RuntimeData.arr_type | ( | self | ) |
The tensor type of the buffer.
TensorAccessPattern iron.runtime.data.RuntimeData.default_tap | ( | self | ) |
A default access pattern for a linear transfer of the buffer.
np.dtype iron.runtime.data.RuntimeData.dtype | ( | self | ) |
The per-element datatype of the buffer
MemRef iron.runtime.data.RuntimeData.op | ( | self | ) |
def iron.runtime.data.RuntimeData.op | ( | self, | |
MemRef | op | ||
) |
Sequence[int] iron.runtime.data.RuntimeData.shape | ( | self | ) |
The shape of the buffer
|
private |
|
private |