Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype TensorOptions Source #
Instances
Castable TensorOptions (ForeignPtr TensorOptions) Source # | |
Defined in Torch.GraduallyTyped.Internal.TensorOptions cast :: TensorOptions -> (ForeignPtr TensorOptions0 -> IO r) -> IO r Source # uncast :: ForeignPtr TensorOptions0 -> (TensorOptions -> IO r) -> IO r Source # |
tensorOptions :: forall gradient layout device dataType. SGradient gradient -> SLayout layout -> SDevice device -> SDataType dataType -> TensorOptions Source #