hasktorch-ffi-th-0.0.1.0: Bindings to Torch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.TH.Long.Tensor

Synopsis

Documentation

c_storage_ :: Ptr C'THLongTensor -> IO (Ptr C'THLongStorage) Source #

c_storage : self -> THStorage *

c_storage :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THLongStorage) Source #

alias of c_storage_ with unused argument (for CTHState) to unify backpack signatures.

c_storageOffset_ :: Ptr C'THLongTensor -> IO CPtrdiff Source #

c_storageOffset : self -> ptrdiff_t

c_storageOffset :: Ptr C'THState -> Ptr C'THLongTensor -> IO CPtrdiff Source #

alias of c_storageOffset_ with unused argument (for CTHState) to unify backpack signatures.

c_nDimension_ :: Ptr C'THLongTensor -> IO CInt Source #

c_nDimension : self -> int

c_nDimension :: Ptr C'THState -> Ptr C'THLongTensor -> IO CInt Source #

alias of c_nDimension_ with unused argument (for CTHState) to unify backpack signatures.

c_size_ :: Ptr C'THLongTensor -> CInt -> IO CLLong Source #

c_size : self dim -> int64_t

c_size :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> IO CLLong Source #

alias of c_size_ with unused argument (for CTHState) to unify backpack signatures.

c_stride_ :: Ptr C'THLongTensor -> CInt -> IO CLLong Source #

c_stride : self dim -> int64_t

c_stride :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> IO CLLong Source #

alias of c_stride_ with unused argument (for CTHState) to unify backpack signatures.

c_newSizeOf_ :: Ptr C'THLongTensor -> IO (Ptr C'THLongStorage) Source #

c_newSizeOf : self -> THLongStorage *

c_newSizeOf :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THLongStorage) Source #

alias of c_newSizeOf_ with unused argument (for CTHState) to unify backpack signatures.

c_newStrideOf_ :: Ptr C'THLongTensor -> IO (Ptr C'THLongStorage) Source #

c_newStrideOf : self -> THLongStorage *

c_newStrideOf :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THLongStorage) Source #

alias of c_newStrideOf_ with unused argument (for CTHState) to unify backpack signatures.

c_data_ :: Ptr C'THLongTensor -> IO (Ptr CLong) Source #

c_data : self -> real *

c_data :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr CLong) Source #

alias of c_data_ with unused argument (for CTHState) to unify backpack signatures.

c_setFlag_ :: Ptr C'THLongTensor -> CChar -> IO () Source #

c_setFlag : self flag -> void

c_setFlag :: Ptr C'THState -> Ptr C'THLongTensor -> CChar -> IO () Source #

alias of c_setFlag_ with unused argument (for CTHState) to unify backpack signatures.

c_clearFlag_ :: Ptr C'THLongTensor -> CChar -> IO () Source #

c_clearFlag : self flag -> void

c_clearFlag :: Ptr C'THState -> Ptr C'THLongTensor -> CChar -> IO () Source #

alias of c_clearFlag_ with unused argument (for CTHState) to unify backpack signatures.

c_new_ :: IO (Ptr C'THLongTensor) Source #

c_new : -> THTensor *

c_new :: Ptr C'THState -> IO (Ptr C'THLongTensor) Source #

alias of c_new_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithTensor_ :: Ptr C'THLongTensor -> IO (Ptr C'THLongTensor) Source #

c_newWithTensor : tensor -> THTensor *

c_newWithTensor :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithTensor_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithStorage_ :: Ptr C'THLongStorage -> CPtrdiff -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

c_newWithStorage : storage_ storageOffset_ size_ stride_ -> THTensor *

c_newWithStorage :: Ptr C'THState -> Ptr C'THLongStorage -> CPtrdiff -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithStorage_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithStorage1d_ :: Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithStorage1d : storage_ storageOffset_ size0_ stride0_ -> THTensor *

c_newWithStorage1d :: Ptr C'THState -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithStorage1d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithStorage2d_ :: Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithStorage2d : storage_ storageOffset_ size0_ stride0_ size1_ stride1_ -> THTensor *

c_newWithStorage2d :: Ptr C'THState -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithStorage2d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithStorage3d_ :: Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithStorage3d : storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ -> THTensor *

c_newWithStorage3d :: Ptr C'THState -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithStorage3d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithStorage4d_ :: Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithStorage4d : storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ size3_ stride3_ -> THTensor *

c_newWithStorage4d :: Ptr C'THState -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithStorage4d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize_ :: Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

c_newWithSize : size_ stride_ -> THTensor *

c_newWithSize :: Ptr C'THState -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithSize_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize1d_ :: CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithSize1d : size0_ -> THTensor *

c_newWithSize1d :: Ptr C'THState -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithSize1d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize2d_ :: CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithSize2d : size0_ size1_ -> THTensor *

c_newWithSize2d :: Ptr C'THState -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithSize2d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize3d_ :: CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithSize3d : size0_ size1_ size2_ -> THTensor *

c_newWithSize3d :: Ptr C'THState -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithSize3d_ with unused argument (for CTHState) to unify backpack signatures.

c_newWithSize4d_ :: CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newWithSize4d : size0_ size1_ size2_ size3_ -> THTensor *

c_newWithSize4d :: Ptr C'THState -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newWithSize4d_ with unused argument (for CTHState) to unify backpack signatures.

c_newClone_ :: Ptr C'THLongTensor -> IO (Ptr C'THLongTensor) Source #

c_newClone : self -> THTensor *

c_newClone :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THLongTensor) Source #

alias of c_newClone_ with unused argument (for CTHState) to unify backpack signatures.

c_newContiguous_ :: Ptr C'THLongTensor -> IO (Ptr C'THLongTensor) Source #

c_newContiguous : tensor -> THTensor *

c_newContiguous :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THLongTensor) Source #

alias of c_newContiguous_ with unused argument (for CTHState) to unify backpack signatures.

c_newSelect_ :: Ptr C'THLongTensor -> CInt -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newSelect : tensor dimension_ sliceIndex_ -> THTensor *

c_newSelect :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newSelect_ with unused argument (for CTHState) to unify backpack signatures.

c_newNarrow_ :: Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newNarrow : tensor dimension_ firstIndex_ size_ -> THTensor *

c_newNarrow :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newNarrow_ with unused argument (for CTHState) to unify backpack signatures.

c_newTranspose_ :: Ptr C'THLongTensor -> CInt -> CInt -> IO (Ptr C'THLongTensor) Source #

c_newTranspose : tensor dimension1_ dimension2_ -> THTensor *

c_newTranspose :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> CInt -> IO (Ptr C'THLongTensor) Source #

alias of c_newTranspose_ with unused argument (for CTHState) to unify backpack signatures.

c_newUnfold_ :: Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

c_newUnfold : tensor dimension_ size_ step_ -> THTensor *

c_newUnfold :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO (Ptr C'THLongTensor) Source #

alias of c_newUnfold_ with unused argument (for CTHState) to unify backpack signatures.

c_newView_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

c_newView : tensor size -> THTensor *

c_newView :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

alias of c_newView_ with unused argument (for CTHState) to unify backpack signatures.

c_newExpand_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

c_newExpand : tensor size -> THTensor *

c_newExpand :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor) Source #

alias of c_newExpand_ with unused argument (for CTHState) to unify backpack signatures.

c_expand_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO () Source #

c_expand : r tensor size -> void

c_expand :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO () Source #

alias of c_expand_ with unused argument (for CTHState) to unify backpack signatures.

c_expandNd_ :: Ptr (Ptr C'THLongTensor) -> Ptr (Ptr C'THLongTensor) -> CInt -> IO () Source #

c_expandNd : rets ops count -> void

c_expandNd :: Ptr C'THState -> Ptr (Ptr C'THLongTensor) -> Ptr (Ptr C'THLongTensor) -> CInt -> IO () Source #

alias of c_expandNd_ with unused argument (for CTHState) to unify backpack signatures.

c_resize_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO () Source #

c_resize : tensor size stride -> void

c_resize :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO () Source #

alias of c_resize_ with unused argument (for CTHState) to unify backpack signatures.

c_resizeAs_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

c_resizeAs : tensor src -> void

c_resizeAs :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

alias of c_resizeAs_ with unused argument (for CTHState) to unify backpack signatures.

c_resizeNd_ :: Ptr C'THLongTensor -> CInt -> Ptr CLLong -> Ptr CLLong -> IO () Source #

c_resizeNd : tensor nDimension size stride -> void

c_resizeNd :: Ptr C'THState -> Ptr C'THLongTensor -> CInt -> Ptr CLLong -> Ptr CLLong -> IO () Source #

alias of c_resizeNd_ with unused argument (for CTHState) to unify backpack signatures.

c_resize1d_ :: Ptr C'THLongTensor -> CLLong -> IO () Source #

c_resize1d : tensor size0_ -> void

c_resize1d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> IO () Source #

alias of c_resize1d_ with unused argument (for CTHState) to unify backpack signatures.

c_resize2d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> IO () Source #

c_resize2d : tensor size0_ size1_ -> void

c_resize2d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> IO () Source #

alias of c_resize2d_ with unused argument (for CTHState) to unify backpack signatures.

c_resize3d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> IO () Source #

c_resize3d : tensor size0_ size1_ size2_ -> void

c_resize3d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> IO () Source #

alias of c_resize3d_ with unused argument (for CTHState) to unify backpack signatures.

c_resize4d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

c_resize4d : tensor size0_ size1_ size2_ size3_ -> void

c_resize4d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

alias of c_resize4d_ with unused argument (for CTHState) to unify backpack signatures.

c_resize5d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

c_resize5d : tensor size0_ size1_ size2_ size3_ size4_ -> void

c_resize5d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

alias of c_resize5d_ with unused argument (for CTHState) to unify backpack signatures.

c_set_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

c_set : self src -> void

c_set :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

alias of c_set_ with unused argument (for CTHState) to unify backpack signatures.

c_setStorage_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO () Source #

c_setStorage : self storage_ storageOffset_ size_ stride_ -> void

c_setStorage :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO () Source #

alias of c_setStorage_ with unused argument (for CTHState) to unify backpack signatures.

c_setStorageNd_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CInt -> Ptr CLLong -> Ptr CLLong -> IO () Source #

c_setStorageNd : self storage_ storageOffset_ nDimension size stride -> void

c_setStorageNd :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CInt -> Ptr CLLong -> Ptr CLLong -> IO () Source #

alias of c_setStorageNd_ with unused argument (for CTHState) to unify backpack signatures.

c_setStorage1d_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> IO () Source #

c_setStorage1d : self storage_ storageOffset_ size0_ stride0_ -> void

c_setStorage1d :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> IO () Source #

alias of c_setStorage1d_ with unused argument (for CTHState) to unify backpack signatures.

c_setStorage2d_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

c_setStorage2d : self storage_ storageOffset_ size0_ stride0_ size1_ stride1_ -> void

c_setStorage2d :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

alias of c_setStorage2d_ with unused argument (for CTHState) to unify backpack signatures.

c_setStorage3d_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

c_setStorage3d : self storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ -> void

c_setStorage3d :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

alias of c_setStorage3d_ with unused argument (for CTHState) to unify backpack signatures.

c_setStorage4d_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

c_setStorage4d : self storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ size3_ stride3_ -> void

c_setStorage4d :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO () Source #

alias of c_setStorage4d_ with unused argument (for CTHState) to unify backpack signatures.

c_narrow_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO () Source #

c_narrow : self src dimension_ firstIndex_ size_ -> void

c_narrow :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO () Source #

alias of c_narrow_ with unused argument (for CTHState) to unify backpack signatures.

c_select_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> IO () Source #

c_select : self src dimension_ sliceIndex_ -> void

c_select :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> IO () Source #

alias of c_select_ with unused argument (for CTHState) to unify backpack signatures.

c_transpose_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CInt -> IO () Source #

c_transpose : self src dimension1_ dimension2_ -> void

c_transpose :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CInt -> IO () Source #

alias of c_transpose_ with unused argument (for CTHState) to unify backpack signatures.

c_unfold_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO () Source #

c_unfold : self src dimension_ size_ step_ -> void

c_unfold :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO () Source #

alias of c_unfold_ with unused argument (for CTHState) to unify backpack signatures.

c_squeeze_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

c_squeeze : self src -> void

c_squeeze :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

alias of c_squeeze_ with unused argument (for CTHState) to unify backpack signatures.

c_squeeze1d_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> IO () Source #

c_squeeze1d : self src dimension_ -> void

c_squeeze1d :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> IO () Source #

alias of c_squeeze1d_ with unused argument (for CTHState) to unify backpack signatures.

c_unsqueeze1d_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> IO () Source #

c_unsqueeze1d : self src dimension_ -> void

c_unsqueeze1d :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> IO () Source #

alias of c_unsqueeze1d_ with unused argument (for CTHState) to unify backpack signatures.

c_isContiguous_ :: Ptr C'THLongTensor -> IO CInt Source #

c_isContiguous : self -> int

c_isContiguous :: Ptr C'THState -> Ptr C'THLongTensor -> IO CInt Source #

alias of c_isContiguous_ with unused argument (for CTHState) to unify backpack signatures.

c_isSameSizeAs_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO CInt Source #

c_isSameSizeAs : self src -> int

c_isSameSizeAs :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO CInt Source #

alias of c_isSameSizeAs_ with unused argument (for CTHState) to unify backpack signatures.

c_isSetTo_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO CInt Source #

c_isSetTo : self src -> int

c_isSetTo :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO CInt Source #

alias of c_isSetTo_ with unused argument (for CTHState) to unify backpack signatures.

c_isSize_ :: Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO CInt Source #

c_isSize : self dims -> int

c_isSize :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO CInt Source #

alias of c_isSize_ with unused argument (for CTHState) to unify backpack signatures.

c_nElement_ :: Ptr C'THLongTensor -> IO CPtrdiff Source #

c_nElement : self -> ptrdiff_t

c_nElement :: Ptr C'THState -> Ptr C'THLongTensor -> IO CPtrdiff Source #

alias of c_nElement_ with unused argument (for CTHState) to unify backpack signatures.

c_retain_ :: Ptr C'THLongTensor -> IO () Source #

c_retain : self -> void

c_retain :: Ptr C'THState -> Ptr C'THLongTensor -> IO () Source #

alias of c_retain_ with unused argument (for CTHState) to unify backpack signatures.

c_free_ :: Ptr C'THLongTensor -> IO () Source #

c_free : self -> void

c_free :: Ptr C'THState -> Ptr C'THLongTensor -> IO () Source #

alias of c_free_ with unused argument (for CTHState) to unify backpack signatures.

c_freeCopyTo_ :: Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

c_freeCopyTo : self dst -> void

c_freeCopyTo :: Ptr C'THState -> Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO () Source #

alias of c_freeCopyTo_ with unused argument (for CTHState) to unify backpack signatures.

c_set1d_ :: Ptr C'THLongTensor -> CLLong -> CLong -> IO () Source #

c_set1d : tensor x0 value -> void

c_set1d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLong -> IO () Source #

alias of c_set1d_ with unused argument (for CTHState) to unify backpack signatures.

c_set2d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLong -> IO () Source #

c_set2d : tensor x0 x1 value -> void

c_set2d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLong -> IO () Source #

alias of c_set2d_ with unused argument (for CTHState) to unify backpack signatures.

c_set3d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLong -> IO () Source #

c_set3d : tensor x0 x1 x2 value -> void

c_set3d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLong -> IO () Source #

alias of c_set3d_ with unused argument (for CTHState) to unify backpack signatures.

c_set4d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLong -> IO () Source #

c_set4d : tensor x0 x1 x2 x3 value -> void

c_set4d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLong -> IO () Source #

alias of c_set4d_ with unused argument (for CTHState) to unify backpack signatures.

c_get1d_ :: Ptr C'THLongTensor -> CLLong -> IO CLong Source #

c_get1d : tensor x0 -> real

c_get1d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> IO CLong Source #

alias of c_get1d_ with unused argument (for CTHState) to unify backpack signatures.

c_get2d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> IO CLong Source #

c_get2d : tensor x0 x1 -> real

c_get2d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> IO CLong Source #

alias of c_get2d_ with unused argument (for CTHState) to unify backpack signatures.

c_get3d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> IO CLong Source #

c_get3d : tensor x0 x1 x2 -> real

c_get3d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> IO CLong Source #

alias of c_get3d_ with unused argument (for CTHState) to unify backpack signatures.

c_get4d_ :: Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO CLong Source #

c_get4d : tensor x0 x1 x2 x3 -> real

c_get4d :: Ptr C'THState -> Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO CLong Source #

alias of c_get4d_ with unused argument (for CTHState) to unify backpack signatures.

c_desc_ :: Ptr C'THLongTensor -> IO (Ptr C'THDescBuff) Source #

c_desc : tensor -> THDescBuff

c_desc :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THDescBuff) Source #

alias of c_desc_ with unused argument (for CTHState) to unify backpack signatures.

c_sizeDesc_ :: Ptr C'THLongTensor -> IO (Ptr C'THDescBuff) Source #

c_sizeDesc : tensor -> THDescBuff

c_sizeDesc :: Ptr C'THState -> Ptr C'THLongTensor -> IO (Ptr C'THDescBuff) Source #

alias of c_sizeDesc_ with unused argument (for CTHState) to unify backpack signatures.

p_storage :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THLongStorage)) Source #

p_storage : Pointer to function : self -> THStorage *

p_storageOffset :: FunPtr (Ptr C'THLongTensor -> IO CPtrdiff) Source #

p_storageOffset : Pointer to function : self -> ptrdiff_t

p_nDimension :: FunPtr (Ptr C'THLongTensor -> IO CInt) Source #

p_nDimension : Pointer to function : self -> int

p_size :: FunPtr (Ptr C'THLongTensor -> CInt -> IO CLLong) Source #

p_size : Pointer to function : self dim -> int64_t

p_stride :: FunPtr (Ptr C'THLongTensor -> CInt -> IO CLLong) Source #

p_stride : Pointer to function : self dim -> int64_t

p_newSizeOf :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THLongStorage)) Source #

p_newSizeOf : Pointer to function : self -> THLongStorage *

p_newStrideOf :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THLongStorage)) Source #

p_newStrideOf : Pointer to function : self -> THLongStorage *

p_data :: FunPtr (Ptr C'THLongTensor -> IO (Ptr CLong)) Source #

p_data : Pointer to function : self -> real *

p_setFlag :: FunPtr (Ptr C'THLongTensor -> CChar -> IO ()) Source #

p_setFlag : Pointer to function : self flag -> void

p_clearFlag :: FunPtr (Ptr C'THLongTensor -> CChar -> IO ()) Source #

p_clearFlag : Pointer to function : self flag -> void

p_new :: FunPtr (IO (Ptr C'THLongTensor)) Source #

p_new : Pointer to function : -> THTensor *

p_newWithTensor :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THLongTensor)) Source #

p_newWithTensor : Pointer to function : tensor -> THTensor *

p_newWithStorage :: FunPtr (Ptr C'THLongStorage -> CPtrdiff -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor)) Source #

p_newWithStorage : Pointer to function : storage_ storageOffset_ size_ stride_ -> THTensor *

p_newWithStorage1d :: FunPtr (Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithStorage1d : Pointer to function : storage_ storageOffset_ size0_ stride0_ -> THTensor *

p_newWithStorage2d :: FunPtr (Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithStorage2d : Pointer to function : storage_ storageOffset_ size0_ stride0_ size1_ stride1_ -> THTensor *

p_newWithStorage3d :: FunPtr (Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithStorage3d : Pointer to function : storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ -> THTensor *

p_newWithStorage4d :: FunPtr (Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithStorage4d : Pointer to function : storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ size3_ stride3_ -> THTensor *

p_newWithSize :: FunPtr (Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor)) Source #

p_newWithSize : Pointer to function : size_ stride_ -> THTensor *

p_newWithSize1d :: FunPtr (CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithSize1d : Pointer to function : size0_ -> THTensor *

p_newWithSize2d :: FunPtr (CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithSize2d : Pointer to function : size0_ size1_ -> THTensor *

p_newWithSize3d :: FunPtr (CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithSize3d : Pointer to function : size0_ size1_ size2_ -> THTensor *

p_newWithSize4d :: FunPtr (CLLong -> CLLong -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newWithSize4d : Pointer to function : size0_ size1_ size2_ size3_ -> THTensor *

p_newClone :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THLongTensor)) Source #

p_newClone : Pointer to function : self -> THTensor *

p_newContiguous :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THLongTensor)) Source #

p_newContiguous : Pointer to function : tensor -> THTensor *

p_newSelect :: FunPtr (Ptr C'THLongTensor -> CInt -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newSelect : Pointer to function : tensor dimension_ sliceIndex_ -> THTensor *

p_newNarrow :: FunPtr (Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newNarrow : Pointer to function : tensor dimension_ firstIndex_ size_ -> THTensor *

p_newTranspose :: FunPtr (Ptr C'THLongTensor -> CInt -> CInt -> IO (Ptr C'THLongTensor)) Source #

p_newTranspose : Pointer to function : tensor dimension1_ dimension2_ -> THTensor *

p_newUnfold :: FunPtr (Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO (Ptr C'THLongTensor)) Source #

p_newUnfold : Pointer to function : tensor dimension_ size_ step_ -> THTensor *

p_newView :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor)) Source #

p_newView : Pointer to function : tensor size -> THTensor *

p_newExpand :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO (Ptr C'THLongTensor)) Source #

p_newExpand : Pointer to function : tensor size -> THTensor *

p_expand :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO ()) Source #

p_expand : Pointer to function : r tensor size -> void

p_expandNd :: FunPtr (Ptr (Ptr C'THLongTensor) -> Ptr (Ptr C'THLongTensor) -> CInt -> IO ()) Source #

p_expandNd : Pointer to function : rets ops count -> void

p_resize :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO ()) Source #

p_resize : Pointer to function : tensor size stride -> void

p_resizeAs :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO ()) Source #

p_resizeAs : Pointer to function : tensor src -> void

p_resizeNd :: FunPtr (Ptr C'THLongTensor -> CInt -> Ptr CLLong -> Ptr CLLong -> IO ()) Source #

p_resizeNd : Pointer to function : tensor nDimension size stride -> void

p_resize1d :: FunPtr (Ptr C'THLongTensor -> CLLong -> IO ()) Source #

p_resize1d : Pointer to function : tensor size0_ -> void

p_resize2d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> IO ()) Source #

p_resize2d : Pointer to function : tensor size0_ size1_ -> void

p_resize3d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> IO ()) Source #

p_resize3d : Pointer to function : tensor size0_ size1_ size2_ -> void

p_resize4d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()) Source #

p_resize4d : Pointer to function : tensor size0_ size1_ size2_ size3_ -> void

p_resize5d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()) Source #

p_resize5d : Pointer to function : tensor size0_ size1_ size2_ size3_ size4_ -> void

p_set :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO ()) Source #

p_set : Pointer to function : self src -> void

p_setStorage :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> Ptr C'THLongStorage -> Ptr C'THLongStorage -> IO ()) Source #

p_setStorage : Pointer to function : self storage_ storageOffset_ size_ stride_ -> void

p_setStorageNd :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CInt -> Ptr CLLong -> Ptr CLLong -> IO ()) Source #

p_setStorageNd : Pointer to function : self storage_ storageOffset_ nDimension size stride -> void

p_setStorage1d :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> IO ()) Source #

p_setStorage1d : Pointer to function : self storage_ storageOffset_ size0_ stride0_ -> void

p_setStorage2d :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()) Source #

p_setStorage2d : Pointer to function : self storage_ storageOffset_ size0_ stride0_ size1_ stride1_ -> void

p_setStorage3d :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()) Source #

p_setStorage3d : Pointer to function : self storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ -> void

p_setStorage4d :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> CPtrdiff -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> CLLong -> IO ()) Source #

p_setStorage4d : Pointer to function : self storage_ storageOffset_ size0_ stride0_ size1_ stride1_ size2_ stride2_ size3_ stride3_ -> void

p_narrow :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO ()) Source #

p_narrow : Pointer to function : self src dimension_ firstIndex_ size_ -> void

p_select :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> IO ()) Source #

p_select : Pointer to function : self src dimension_ sliceIndex_ -> void

p_transpose :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CInt -> IO ()) Source #

p_transpose : Pointer to function : self src dimension1_ dimension2_ -> void

p_unfold :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> CLLong -> CLLong -> IO ()) Source #

p_unfold : Pointer to function : self src dimension_ size_ step_ -> void

p_squeeze :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO ()) Source #

p_squeeze : Pointer to function : self src -> void

p_squeeze1d :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> IO ()) Source #

p_squeeze1d : Pointer to function : self src dimension_ -> void

p_unsqueeze1d :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> CInt -> IO ()) Source #

p_unsqueeze1d : Pointer to function : self src dimension_ -> void

p_isContiguous :: FunPtr (Ptr C'THLongTensor -> IO CInt) Source #

p_isContiguous : Pointer to function : self -> int

p_isSameSizeAs :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO CInt) Source #

p_isSameSizeAs : Pointer to function : self src -> int

p_isSetTo :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO CInt) Source #

p_isSetTo : Pointer to function : self src -> int

p_isSize :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongStorage -> IO CInt) Source #

p_isSize : Pointer to function : self dims -> int

p_nElement :: FunPtr (Ptr C'THLongTensor -> IO CPtrdiff) Source #

p_nElement : Pointer to function : self -> ptrdiff_t

p_retain :: FunPtr (Ptr C'THLongTensor -> IO ()) Source #

p_retain : Pointer to function : self -> void

p_free :: FunPtr (Ptr C'THLongTensor -> IO ()) Source #

p_free : Pointer to function : self -> void

p_freeCopyTo :: FunPtr (Ptr C'THLongTensor -> Ptr C'THLongTensor -> IO ()) Source #

p_freeCopyTo : Pointer to function : self dst -> void

p_set1d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLong -> IO ()) Source #

p_set1d : Pointer to function : tensor x0 value -> void

p_set2d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLong -> IO ()) Source #

p_set2d : Pointer to function : tensor x0 x1 value -> void

p_set3d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLong -> IO ()) Source #

p_set3d : Pointer to function : tensor x0 x1 x2 value -> void

p_set4d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> CLong -> IO ()) Source #

p_set4d : Pointer to function : tensor x0 x1 x2 x3 value -> void

p_get1d :: FunPtr (Ptr C'THLongTensor -> CLLong -> IO CLong) Source #

p_get1d : Pointer to function : tensor x0 -> real

p_get2d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> IO CLong) Source #

p_get2d : Pointer to function : tensor x0 x1 -> real

p_get3d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> IO CLong) Source #

p_get3d : Pointer to function : tensor x0 x1 x2 -> real

p_get4d :: FunPtr (Ptr C'THLongTensor -> CLLong -> CLLong -> CLLong -> CLLong -> IO CLong) Source #

p_get4d : Pointer to function : tensor x0 x1 x2 x3 -> real

p_desc :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THDescBuff)) Source #

p_desc : Pointer to function : tensor -> THDescBuff

p_sizeDesc :: FunPtr (Ptr C'THLongTensor -> IO (Ptr C'THDescBuff)) Source #

p_sizeDesc : Pointer to function : tensor -> THDescBuff