hasktorch-0.2.0.0: Functional differentiable programming in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Dimname

Documentation

newtype Dimname Source #

Constructors

Dimname (ForeignPtr Dimname) 

Instances

Instances details
IsString Dimname Source # 
Instance details

Defined in Torch.Dimname

Castable Dimname (ForeignPtr Dimname) Source # 
Instance details

Defined in Torch.Dimname

Methods

cast :: Dimname -> (ForeignPtr Dimname0 -> IO r) -> IO r Source #

uncast :: ForeignPtr Dimname0 -> (Dimname -> IO r) -> IO r Source #

Castable [Dimname] (ForeignPtr DimnameList) Source # 
Instance details

Defined in Torch.Dimname

Methods

cast :: [Dimname] -> (ForeignPtr DimnameList -> IO r) -> IO r Source #

uncast :: ForeignPtr DimnameList -> ([Dimname] -> IO r) -> IO r Source #