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.Index.Tensor (signature[?])

Description

Basic Tensor functionality signature file for Index tensors.

Synopsis

Documentation

c_newWithSize1d :: Ptr CState -> CLLong -> IO (Ptr CLongTensor) #

ffi to c-level newWithSize1d

c_set1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLong -> IO () #

ffi to c-level set1d

c_resize1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> IO () #

ffi to c-level resize1d

c_nDimension :: Ptr CState -> Ptr CLongTensor -> IO CInt #

ffi to c-level nDimension

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

ffi to c-level size

c_get1d :: Ptr CState -> Ptr CLongTensor -> CLLong -> IO CLong #

ffi to c-level get1d

c_get2d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLLong -> IO CLong #

ffi to c-level get2d

c_get3d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLLong -> CLLong -> IO CLong #

ffi to c-level get3d

c_get4d :: Ptr CState -> Ptr CLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO CLong #

ffi to c-level get4d