Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
module Torch.Types.THC.Structs
type CState = C'THCState Source #
type CAllocator = () Source #
type CDescBuff = C'THCDescBuff Source #
type CGenerator = C'_Generator Source #
type CNNState = C'THCState Source #
type CNNGenerator = () Source #
type CMaskTensor = CByteTensor Source #
type CIndexTensor = CLongTensor Source #
type CIndexStorage = CLongStorage Source #
type C'THCIndexTensor = CLongTensor Source #
type MaskDynamic = ByteDynamic Source #
type IndexDynamic = LongDynamic Source #
type MaskTensor = ByteTensor Source #
type IndexTensor = LongTensor Source #
type IndexStorage = LongStorage Source #
type CByteTensor = C'THCudaByteTensor Source #
newtype ByteDynamic Source #
Instances
Eq ByteDynamic Source # | |
Defined in Torch.Types.THC (==) :: ByteDynamic -> ByteDynamic -> Bool # (/=) :: ByteDynamic -> ByteDynamic -> Bool # |
newtype ByteTensor (ds :: [Nat]) Source #
Instances
Eq (ByteTensor ds) Source # | |
Defined in Torch.Types.THC (==) :: ByteTensor ds -> ByteTensor ds -> Bool # (/=) :: ByteTensor ds -> ByteTensor ds -> Bool # |
byteAsStatic :: ByteDynamic -> ByteTensor ds Source #
type CByteStorage = C'THCByteStorage Source #
newtype ByteStorage Source #
Instances
Eq ByteStorage Source # | |
Defined in Torch.Types.THC (==) :: ByteStorage -> ByteStorage -> Bool # (/=) :: ByteStorage -> ByteStorage -> Bool # |
type CCharTensor = C'THCudaCharTensor Source #
newtype CharDynamic Source #
Instances
Eq CharDynamic Source # | |
Defined in Torch.Types.THC (==) :: CharDynamic -> CharDynamic -> Bool # (/=) :: CharDynamic -> CharDynamic -> Bool # |
newtype CharTensor (ds :: [Nat]) Source #
Instances
Eq (CharTensor ds) Source # | |
Defined in Torch.Types.THC (==) :: CharTensor ds -> CharTensor ds -> Bool # (/=) :: CharTensor ds -> CharTensor ds -> Bool # |
charAsStatic :: CharDynamic -> CharTensor ds Source #
type CCharStorage = C'THCCharStorage Source #
newtype CharStorage Source #
Instances
Eq CharStorage Source # | |
Defined in Torch.Types.THC (==) :: CharStorage -> CharStorage -> Bool # (/=) :: CharStorage -> CharStorage -> Bool # |
type CLongTensor = C'THCudaLongTensor Source #
newtype LongDynamic Source #
Instances
Eq LongDynamic Source # | |
Defined in Torch.Types.THC (==) :: LongDynamic -> LongDynamic -> Bool # (/=) :: LongDynamic -> LongDynamic -> Bool # |
newtype LongTensor (ds :: [Nat]) Source #
Instances
Eq (LongTensor ds) Source # | |
Defined in Torch.Types.THC (==) :: LongTensor ds -> LongTensor ds -> Bool # (/=) :: LongTensor ds -> LongTensor ds -> Bool # |
longAsStatic :: LongDynamic -> LongTensor ds Source #
type CLongStorage = C'THCLongStorage Source #
newtype LongStorage Source #
Instances
Eq LongStorage Source # | |
Defined in Torch.Types.THC (==) :: LongStorage -> LongStorage -> Bool # (/=) :: LongStorage -> LongStorage -> Bool # |
type CShortTensor = C'THCudaShortTensor Source #
newtype ShortDynamic Source #
Instances
Eq ShortDynamic Source # | |
Defined in Torch.Types.THC (==) :: ShortDynamic -> ShortDynamic -> Bool # (/=) :: ShortDynamic -> ShortDynamic -> Bool # |
newtype ShortTensor (ds :: [Nat]) Source #
Instances
Eq (ShortTensor ds) Source # | |
Defined in Torch.Types.THC (==) :: ShortTensor ds -> ShortTensor ds -> Bool # (/=) :: ShortTensor ds -> ShortTensor ds -> Bool # |
shortAsStatic :: ShortDynamic -> ShortTensor ds Source #
type CShortStorage = C'THCShortStorage Source #
newtype ShortStorage Source #
Instances
Eq ShortStorage Source # | |
Defined in Torch.Types.THC (==) :: ShortStorage -> ShortStorage -> Bool # (/=) :: ShortStorage -> ShortStorage -> Bool # |
type CIntTensor = C'THCudaIntTensor Source #
newtype IntDynamic Source #
Instances
Eq IntDynamic Source # | |
Defined in Torch.Types.THC (==) :: IntDynamic -> IntDynamic -> Bool # (/=) :: IntDynamic -> IntDynamic -> Bool # |
intDynamic :: ForeignPtr CState -> ForeignPtr CIntTensor -> IntDynamic Source #
intAsStatic :: IntDynamic -> IntTensor ds Source #
type CIntStorage = C'THCIntStorage Source #
newtype IntStorage Source #
Instances
Eq IntStorage Source # | |
Defined in Torch.Types.THC (==) :: IntStorage -> IntStorage -> Bool # (/=) :: IntStorage -> IntStorage -> Bool # |
intStorage :: ForeignPtr CState -> ForeignPtr CIntStorage -> IntStorage Source #
type CFloatTensor = C'THCudaFloatTensor Source #
newtype FloatDynamic Source #
Instances
Eq FloatDynamic Source # | |
Defined in Torch.Types.THC (==) :: FloatDynamic -> FloatDynamic -> Bool # (/=) :: FloatDynamic -> FloatDynamic -> Bool # |
newtype FloatTensor (ds :: [Nat]) Source #
Instances
Eq (FloatTensor ds) Source # | |
Defined in Torch.Types.THC (==) :: FloatTensor ds -> FloatTensor ds -> Bool # (/=) :: FloatTensor ds -> FloatTensor ds -> Bool # |
floatAsStatic :: FloatDynamic -> FloatTensor ds Source #
type CFloatStorage = C'THCFloatStorage Source #
newtype FloatStorage Source #
Instances
Eq FloatStorage Source # | |
Defined in Torch.Types.THC (==) :: FloatStorage -> FloatStorage -> Bool # (/=) :: FloatStorage -> FloatStorage -> Bool # |
type CDoubleTensor = C'THCudaDoubleTensor Source #
newtype DoubleDynamic Source #
Instances
Eq DoubleDynamic Source # | |
Defined in Torch.Types.THC (==) :: DoubleDynamic -> DoubleDynamic -> Bool # (/=) :: DoubleDynamic -> DoubleDynamic -> Bool # |
newtype DoubleTensor (ds :: [Nat]) Source #
Instances
Eq (DoubleTensor ds) Source # | |
Defined in Torch.Types.THC (==) :: DoubleTensor ds -> DoubleTensor ds -> Bool # (/=) :: DoubleTensor ds -> DoubleTensor ds -> Bool # |
doubleAsStatic :: DoubleDynamic -> DoubleTensor ds Source #
type CDoubleStorage = C'THCDoubleStorage Source #
newtype DoubleStorage Source #
Instances
Eq DoubleStorage Source # | |
Defined in Torch.Types.THC (==) :: DoubleStorage -> DoubleStorage -> Bool # (/=) :: DoubleStorage -> DoubleStorage -> Bool # |
type C'THCHalfStorage = () Source #
type C'THCudaHalfTensor = () Source #