Copyright | (c) Sam Stites 2017 |
---|---|
License | BSD3 |
Maintainer | sam@stites.io |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Basic Tensor functionality signature file for Mask tensors.
Synopsis
- c_newWithSize1d :: Ptr CState -> CLLong -> IO (Ptr CByteTensor)
- c_newWithSize2d :: Ptr CState -> CLLong -> CLLong -> IO (Ptr CByteTensor)
- c_newWithSize3d :: Ptr CState -> CLLong -> CLLong -> CLLong -> IO (Ptr CByteTensor)
- c_newWithSize4d :: Ptr CState -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr CByteTensor)
- c_set1d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CUChar -> IO ()
- c_set2d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CUChar -> IO ()
- c_set3d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CUChar -> IO ()
- c_set4d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CUChar -> IO ()
- c_resize1d :: Ptr CState -> Ptr CByteTensor -> CLLong -> IO ()
- c_resize2d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> IO ()
- c_resize3d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> IO ()
- c_resize4d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()
- c_resize5d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()
- c_nDimension :: Ptr CState -> Ptr CByteTensor -> IO CInt
- c_size :: Ptr CState -> Ptr CByteTensor -> CInt -> IO CLLong
Documentation
c_newWithSize1d :: Ptr CState -> CLLong -> IO (Ptr CByteTensor) #
ffi to c-level newWithSize1d
c_newWithSize2d :: Ptr CState -> CLLong -> CLLong -> IO (Ptr CByteTensor) #
ffi to c-level newWithSize2d
c_newWithSize3d :: Ptr CState -> CLLong -> CLLong -> CLLong -> IO (Ptr CByteTensor) #
ffi to c-level newWithSize3d
c_newWithSize4d :: Ptr CState -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr CByteTensor) #
ffi to c-level newWithSize4d
c_set2d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CUChar -> IO () #
ffi to c-level set2d
c_set3d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CUChar -> IO () #
ffi to c-level set3d
c_set4d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CUChar -> IO () #
ffi to c-level set4d
c_resize1d :: Ptr CState -> Ptr CByteTensor -> CLLong -> IO () #
ffi to c-level resize1d
c_resize2d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> IO () #
ffi to c-level resize2d
c_resize3d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> IO () #
ffi to c-level resize3d
c_resize4d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO () #
ffi to c-level resize4d
c_resize5d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () #
ffi to c-level resize5d
c_nDimension :: Ptr CState -> Ptr CByteTensor -> IO CInt #
ffi to c-level nDimension