TensorOp

A lazy representation of tensor operations to save memory

 

__init__(self, a, b, axis=None): 

 

op(self, a, b): 

 

get_shape(self, a, b): 

 

@property
shape(self): 

 

@property
array(self): 

Ought to always compile down to a proper ndarray

  • :returns: np.ndarray

 

__getitem__(self, i): 

Feedback

Examples

Templates

Documentation