hasktorch-ffi-th-0.0.1.0: Bindings to Torch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.TH.Size

Synopsis

Documentation

c_THSize_isSameSizeAs :: Ptr CLLong -> CLLong -> Ptr CLLong -> CLLong -> IO CInt Source #

c_THSize_isSameSizeAs : sizeA dimsA sizeB dimsB -> int

c_THSize_nElement :: CLLong -> Ptr CLLong -> IO CPtrdiff Source #

c_THSize_nElement : dims size -> ptrdiff_t

p_THSize_isSameSizeAs :: FunPtr (Ptr CLLong -> CLLong -> Ptr CLLong -> CLLong -> IO CInt) Source #

p_THSize_isSameSizeAs : Pointer to function : sizeA dimsA sizeB dimsB -> int

p_THSize_nElement :: FunPtr (CLLong -> Ptr CLLong -> IO CPtrdiff) Source #

p_THSize_nElement : Pointer to function : dims size -> ptrdiff_t