Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
newtype TensorOptions Source #
Instances
Show TensorOptions Source # | |
Defined in Torch.TensorOptions | |
TensorOptionLike TensorOptions Source # | |
Defined in Torch.Tensor withTensorOptions :: Tensor -> TensorOptions -> Tensor Source # | |
Castable TensorOptions ATenTensorOptions Source # | |
Defined in Torch.TensorOptions cast :: TensorOptions -> (ATenTensorOptions -> IO r) -> IO r Source # uncast :: ATenTensorOptions -> (TensorOptions -> IO r) -> IO r Source # |
withDType :: DType -> TensorOptions -> TensorOptions Source #
withDevice :: Device -> TensorOptions -> TensorOptions Source #
withLayout :: Layout -> TensorOptions -> TensorOptions Source #