probly.representation.torch_like

Protocol for ndarray-like objects.

Classes

TorchLike

Protocol for array-like objects that implement torch-specific APIs.

TorchLikeConvertible

Protocol for array-like objects that can be converted to torch tensors.

TorchLikeImplementation

ABC implementation for array-like objects that behave like torch tensors.