Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
type CTensor = C'THCudaShortTensor Source #
type CStorage = C'THCShortStorage Source #
hs2cAccReal :: HsAccReal -> CAccReal Source #
c2hsAccReal :: CAccReal -> HsAccReal Source #
type Storage = ShortStorage Source #
type Dynamic = ShortDynamic Source #
dynamic :: ForeignPtr CState -> ForeignPtr CShortTensor -> ShortDynamic Source #
type Tensor = ShortTensor Source #
asDynamic :: ShortTensor ds -> ShortDynamic Source #
asStatic :: ShortDynamic -> ShortTensor ds Source #