hasktorch-0.2.1.1: Haskell bindings to libtorch, supporting both typed and untyped tensors.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Layout

Documentation

data Layout Source #

Constructors

Strided 
Sparse 
Mkldnn 

Instances

Instances details
Show Layout Source # 
Instance details

Defined in Torch.Layout

Eq Layout Source # 
Instance details

Defined in Torch.Layout

Methods

(==) :: Layout -> Layout -> Bool #

(/=) :: Layout -> Layout -> Bool #

Castable Layout Layout Source # 
Instance details

Defined in Torch.Layout

Methods

cast :: Layout -> (Layout0 -> IO r) -> IO r

uncast :: Layout0 -> (Layout -> IO r) -> IO r