Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
type CTensor = C'THCudaLongTensor Source #
type CStorage = C'THCLongStorage Source #
hs2cAccReal :: HsAccReal -> CAccReal Source #
c2hsAccReal :: CAccReal -> HsAccReal Source #
type Storage = LongStorage Source #
storage :: ForeignPtr CState -> ForeignPtr CLongStorage -> LongStorage Source #
type Dynamic = LongDynamic Source #
dynamic :: ForeignPtr CState -> ForeignPtr CLongTensor -> LongDynamic Source #
type Tensor = LongTensor Source #
asDynamic :: LongTensor ds -> LongDynamic Source #
asStatic :: LongDynamic -> LongTensor ds Source #