IRON  1.0
Namespaces | Functions
utils.py File Reference

Namespaces

 taplib.utils
 

Functions

def taplib.utils.ceildiv (a, b)
 
tuple[Sequence[int]|None, Sequence[int]|None] taplib.utils.validate_and_clean_sizes_strides (Sequence[int]|None sizes, Sequence[int]|None strides, bool allow_none=False, int|None expected_dims=None)
 
Sequence[int] taplib.utils.validate_tensor_dims (Sequence[int] tensor_dims, int|None expected_dims=None)
 
int taplib.utils.validate_offset (int offset, Sequence[int]|None tensor_dims)