hasktorch-signatures-support-0.0.1.0: Signatures for support tensors in hasktorch

Copyright(c) Sam Stites 2017
LicenseBSD3
Maintainersam@stites.io
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe
LanguageHaskell2010

Torch.Sig.Mask.Tensor (signature[?])

Description

Basic Tensor functionality signature file for Mask tensors.

Synopsis

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_set1d :: Ptr CState -> Ptr CByteTensor -> CLLong -> CUChar -> IO () #

ffi to c-level set1d

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

c_size :: Ptr CState -> Ptr CByteTensor -> CInt -> IO CLLong #

ffi to c-level size