Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Torch.Typed.NamedTensor
Documentation
class NamedTensorLike a where Source #
Associated Types
type ToNestedList a :: Type Source #
Methods
toNestedList :: a -> ToNestedList a Source #
asNamedTensor :: a -> NamedTensor '('CPU, 0) (ToDType a) (ToShape a) Source #
fromNestedList :: ToNestedList a -> a Source #
fromNamedTensor :: NamedTensor '('CPU, 0) (ToDType a) (ToShape a) -> a Source #