Torch.Internal.Managed.Cast
Contents
Methods
cast :: Int -> (ForeignPtr IntArray -> IO r) -> IO r Source #
uncast :: ForeignPtr IntArray -> (Int -> IO r) -> IO r Source #
cast :: [CBool] -> (ForeignPtr (C10List CBool) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10List CBool) -> ([CBool] -> IO r) -> IO r Source #
cast :: [CDouble] -> (ForeignPtr (C10List CDouble) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10List CDouble) -> ([CDouble] -> IO r) -> IO r Source #
cast :: [ForeignPtr IValue] -> (ForeignPtr (C10List IValue) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10List IValue) -> ([ForeignPtr IValue] -> IO r) -> IO r Source #
cast :: [ForeignPtr IValue] -> (ForeignPtr (C10Ptr IVTuple) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10Ptr IVTuple) -> ([ForeignPtr IValue] -> IO r) -> IO r Source #
cast :: [ForeignPtr IValue] -> (ForeignPtr IValueList -> IO r) -> IO r Source #
uncast :: ForeignPtr IValueList -> ([ForeignPtr IValue] -> IO r) -> IO r Source #
cast :: [ForeignPtr Tensor] -> (ForeignPtr (C10List (C10Optional Tensor)) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10List (C10Optional Tensor)) -> ([ForeignPtr Tensor] -> IO r) -> IO r Source #
cast :: [ForeignPtr Tensor] -> (ForeignPtr (C10List Tensor) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10List Tensor) -> ([ForeignPtr Tensor] -> IO r) -> IO r Source #
cast :: [ForeignPtr Tensor] -> (ForeignPtr TensorList -> IO r) -> IO r Source #
uncast :: ForeignPtr TensorList -> ([ForeignPtr Tensor] -> IO r) -> IO r Source #
cast :: [Int64] -> (ForeignPtr (C10List Int64) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10List Int64) -> ([Int64] -> IO r) -> IO r Source #
cast :: [(ForeignPtr IValue, ForeignPtr IValue)] -> (ForeignPtr (C10Dict '(IValue, IValue)) -> IO r) -> IO r Source #
uncast :: ForeignPtr (C10Dict '(IValue, IValue)) -> ([(ForeignPtr IValue, ForeignPtr IValue)] -> IO r) -> IO r Source #
cast :: [Double] -> (ForeignPtr (StdVector CDouble) -> IO r) -> IO r Source #
uncast :: ForeignPtr (StdVector CDouble) -> ([Double] -> IO r) -> IO r Source #
cast :: [Int] -> (ForeignPtr IntArray -> IO r) -> IO r Source #
uncast :: ForeignPtr IntArray -> ([Int] -> IO r) -> IO r Source #