phantom-tensors
Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing
- 21
- Python
- MIT
- 11 mo ago
Tensor-like types – with variadic shapes – that support both static and runtime type checking, and convenient parsing
Cumulatively test whether every array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left.
Cumulatively test whether at least `n` elements in a provided array pass a test implemented by a predicate function, while iterating from right-to-left.
Create a minimal array-like object supporting the accessor protocol from another array-like object.
Cumulatively test whether at least one array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left.
Convert an array-like object to a minimal array-like object supporting the accessor protocol.
Cumulatively test whether no array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left.