libtorch-ffi-1.11.0.0: test out alternative options for ffi interface to libtorch 1.x
Safe HaskellSafe-Inferred
LanguageHaskell2010

Torch.Internal.Unmanaged.Type.IValue

Documentation

class IValueLike a b where Source #

Methods

toIValue :: a -> IO b Source #

fromIValue :: b -> IO a Source #

Instances

Instances details
IValueLike CBool (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike CDouble (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike Int32 (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike Int64 (ForeignPtr IValue) Source # 
Instance details

Defined in Torch.Internal.Managed.Type.IValue

IValueLike Int64 (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike Bool (ForeignPtr IValue) Source # 
Instance details

Defined in Torch.Internal.Managed.Type.IValue

IValueLike Double (ForeignPtr IValue) Source # 
Instance details

Defined in Torch.Internal.Managed.Type.IValue

(CppObject a, IValueLike (Ptr a) (Ptr IValue)) => IValueLike (ForeignPtr a) (ForeignPtr IValue) Source # 
Instance details

Defined in Torch.Internal.Managed.Type.IValue

IValueLike (Ptr (C10Dict '(IValue, IValue))) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10List CBool)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10List CDouble)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10List Int64)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10List IValue)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10List Tensor)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10Ptr Blob)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10Ptr Capsule)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10Ptr IVConstantString)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10Ptr IVFuture)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10Ptr IVObject)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr (C10Ptr IVTuple)) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr Device) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr IValue) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr Scalar) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr StdString) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue

IValueLike (Ptr Tensor) (Ptr IValue) Source # 
Instance details

Defined in Torch.Internal.Unmanaged.Type.IValue