IRON  1.0
Public Member Functions | Private Attributes | List of all members
iron.runtime.data.RuntimeData Class Reference

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
 

Detailed Description

A handle to I/O data in the Runtime

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ arr_type()

np.ndarray iron.runtime.data.RuntimeData.arr_type (   self)
The tensor type of the buffer.

◆ default_tap()

TensorAccessPattern iron.runtime.data.RuntimeData.default_tap (   self)
A default access pattern for a linear transfer of the buffer.

◆ dtype()

np.dtype iron.runtime.data.RuntimeData.dtype (   self)
The per-element datatype of the buffer

◆ op() [1/2]

MemRef iron.runtime.data.RuntimeData.op (   self)

◆ op() [2/2]

def iron.runtime.data.RuntimeData.op (   self,
MemRef  op 
)

◆ shape()

Sequence[int] iron.runtime.data.RuntimeData.shape (   self)
The shape of the buffer

Member Data Documentation

◆ _arr_type

iron.runtime.data.RuntimeData._arr_type
private

◆ _op

iron.runtime.data.RuntimeData._op
private

The documentation for this class was generated from the following file: