Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
asState :: ForeignPtr CState -> State #
asForeign :: State -> ForeignPtr CState #
data CAllocator #
data CGenerator #
rng :: Generator -> ForeignPtr CGenerator #
type CMaskTensor = CByteTensor #
type CIndexTensor = CLongTensor #
type CIndexStorage = CLongStorage #
type MaskTensor = (ByteTensor :: [Nat] -> Type) #
type MaskDynamic = ByteDynamic #
type IndexTensor = (LongTensor :: [Nat] -> Type) #
type IndexDynamic = LongDynamic #
type IndexStorage = LongStorage #
data CByteTensor #
data ByteTensor (d :: [Nat]) #
byteAsDynamic :: ByteTensor (d :: [Nat]) -> ByteDynamic #
byteAsStatic :: ByteDynamic -> ByteTensor (d :: [Nat]) #
data ByteDynamic #
byteDynamic :: ForeignPtr CState -> ForeignPtr CByteTensor -> ByteDynamic #
data CByteStorage #
data ByteStorage #
data CCharTensor #
data CharTensor (d :: [Nat]) #
charAsDynamic :: CharTensor (d :: [Nat]) -> CharDynamic #
charAsStatic :: CharDynamic -> CharTensor (d :: [Nat]) #
data CharDynamic #
charDynamic :: ForeignPtr CState -> ForeignPtr CCharTensor -> CharDynamic #
data CCharStorage #
data CharStorage #
data CLongTensor #
data LongTensor (d :: [Nat]) #
longAsDynamic :: LongTensor (d :: [Nat]) -> LongDynamic #
longAsStatic :: LongDynamic -> LongTensor (d :: [Nat]) #
data LongDynamic #
longDynamic :: ForeignPtr CState -> ForeignPtr CLongTensor -> LongDynamic #
data CLongStorage #
data LongStorage #
data CShortTensor #
data ShortTensor (d :: [Nat]) #
shortAsDynamic :: ShortTensor (d :: [Nat]) -> ShortDynamic #
shortAsStatic :: ShortDynamic -> ShortTensor (d :: [Nat]) #
data ShortDynamic #
data CShortStorage #
data ShortStorage #
data CIntTensor #
intAsDynamic :: IntTensor (d :: [Nat]) -> IntDynamic #
intAsStatic :: IntDynamic -> IntTensor (d :: [Nat]) #
data IntDynamic #
intDynamic :: ForeignPtr CState -> ForeignPtr CIntTensor -> IntDynamic #
data CIntStorage #
data IntStorage #
intStorage :: ForeignPtr CState -> ForeignPtr CIntStorage -> IntStorage #
data CFloatTensor #
data FloatTensor (d :: [Nat]) #
floatAsDynamic :: FloatTensor (d :: [Nat]) -> FloatDynamic #
floatAsStatic :: FloatDynamic -> FloatTensor (d :: [Nat]) #
data FloatDynamic #
data CFloatStorage #
data FloatStorage #
data CDoubleTensor #
data DoubleTensor (d :: [Nat]) #
doubleAsDynamic :: DoubleTensor (d :: [Nat]) -> DoubleDynamic #
doubleAsStatic :: DoubleDynamic -> DoubleTensor (d :: [Nat]) #
data DoubleDynamic #
data CDoubleStorage #
data DoubleStorage #