hasktorch-ffi-th-0.0.1.0: Bindings to Torch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.TH.Byte.Storage

Synopsis

Documentation

c_data_ :: Ptr C'THByteStorage -> IO (Ptr CUChar) Source #

c_data : -> real *

c_data :: Ptr C'THState -> Ptr C'THByteStorage -> IO (Ptr CUChar) Source #

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

c_size_ :: Ptr C'THByteStorage -> IO CPtrdiff Source #

c_size : -> ptrdiff_t

c_size :: Ptr C'THState -> Ptr C'THByteStorage -> IO CPtrdiff Source #

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

c_set_ :: Ptr C'THByteStorage -> CPtrdiff -> CUChar -> IO () Source #

c_set : -> void

c_set :: Ptr C'THState -> Ptr C'THByteStorage -> CPtrdiff -> CUChar -> IO () Source #

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

c_get :: Ptr C'THState -> Ptr C'THByteStorage -> CPtrdiff -> IO CUChar Source #

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

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

c_new : -> THStorage *

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

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

c_newWithSize_ :: CPtrdiff -> IO (Ptr C'THByteStorage) Source #

c_newWithSize : size -> THStorage *

c_newWithSize :: Ptr C'THState -> CPtrdiff -> IO (Ptr C'THByteStorage) Source #

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

c_newWithSize1_ :: CUChar -> IO (Ptr C'THByteStorage) Source #

c_newWithSize1 : -> THStorage *

c_newWithSize1 :: Ptr C'THState -> CUChar -> IO (Ptr C'THByteStorage) Source #

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

c_newWithSize2_ :: CUChar -> CUChar -> IO (Ptr C'THByteStorage) Source #

c_newWithSize2 : -> THStorage *

c_newWithSize2 :: Ptr C'THState -> CUChar -> CUChar -> IO (Ptr C'THByteStorage) Source #

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

c_newWithSize3_ :: CUChar -> CUChar -> CUChar -> IO (Ptr C'THByteStorage) Source #

c_newWithSize3 : -> THStorage *

c_newWithSize3 :: Ptr C'THState -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THByteStorage) Source #

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

c_newWithSize4_ :: CUChar -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THByteStorage) Source #

c_newWithSize4 : -> THStorage *

c_newWithSize4 :: Ptr C'THState -> CUChar -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THByteStorage) Source #

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

c_newWithMapping_ :: Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THByteStorage) Source #

c_newWithMapping : filename size flags -> THStorage *

c_newWithMapping :: Ptr C'THState -> Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THByteStorage) Source #

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

c_newWithData_ :: Ptr CUChar -> CPtrdiff -> IO (Ptr C'THByteStorage) Source #

c_newWithData : data size -> THStorage *

c_newWithData :: Ptr C'THState -> Ptr CUChar -> CPtrdiff -> IO (Ptr C'THByteStorage) Source #

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

c_newWithAllocator_ :: CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THByteStorage) Source #

c_newWithAllocator : size allocator allocatorContext -> THStorage *

c_newWithAllocator :: Ptr C'THState -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THByteStorage) Source #

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

c_newWithDataAndAllocator_ :: Ptr CUChar -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THByteStorage) Source #

c_newWithDataAndAllocator : data size allocator allocatorContext -> THStorage *

c_newWithDataAndAllocator :: Ptr C'THState -> Ptr CUChar -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THByteStorage) Source #

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

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

c_setFlag : storage flag -> void

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

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

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

c_clearFlag : storage flag -> void

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

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

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

c_retain : storage -> void

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

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

c_swap_ :: Ptr C'THByteStorage -> Ptr C'THByteStorage -> IO () Source #

c_swap : storage1 storage2 -> void

c_swap :: Ptr C'THState -> Ptr C'THByteStorage -> Ptr C'THByteStorage -> IO () Source #

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

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

c_free : storage -> void

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

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

c_resize_ :: Ptr C'THByteStorage -> CPtrdiff -> IO () Source #

c_resize : storage size -> void

c_resize :: Ptr C'THState -> Ptr C'THByteStorage -> CPtrdiff -> IO () Source #

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

c_fill_ :: Ptr C'THByteStorage -> CUChar -> IO () Source #

c_fill : storage value -> void

c_fill :: Ptr C'THState -> Ptr C'THByteStorage -> CUChar -> IO () Source #

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

p_data :: FunPtr (Ptr C'THByteStorage -> IO (Ptr CUChar)) Source #

p_data : Pointer to function : -> real *

p_size :: FunPtr (Ptr C'THByteStorage -> IO CPtrdiff) Source #

p_size : Pointer to function : -> ptrdiff_t

p_set :: FunPtr (Ptr C'THByteStorage -> CPtrdiff -> CUChar -> IO ()) Source #

p_set : Pointer to function : -> void

p_get :: FunPtr (Ptr C'THByteStorage -> CPtrdiff -> IO CUChar) Source #

p_get : Pointer to function : -> real

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

p_new : Pointer to function : -> THStorage *

p_newWithSize :: FunPtr (CPtrdiff -> IO (Ptr C'THByteStorage)) Source #

p_newWithSize : Pointer to function : size -> THStorage *

p_newWithSize1 :: FunPtr (CUChar -> IO (Ptr C'THByteStorage)) Source #

p_newWithSize1 : Pointer to function : -> THStorage *

p_newWithSize2 :: FunPtr (CUChar -> CUChar -> IO (Ptr C'THByteStorage)) Source #

p_newWithSize2 : Pointer to function : -> THStorage *

p_newWithSize3 :: FunPtr (CUChar -> CUChar -> CUChar -> IO (Ptr C'THByteStorage)) Source #

p_newWithSize3 : Pointer to function : -> THStorage *

p_newWithSize4 :: FunPtr (CUChar -> CUChar -> CUChar -> CUChar -> IO (Ptr C'THByteStorage)) Source #

p_newWithSize4 : Pointer to function : -> THStorage *

p_newWithMapping :: FunPtr (Ptr CChar -> CPtrdiff -> CInt -> IO (Ptr C'THByteStorage)) Source #

p_newWithMapping : Pointer to function : filename size flags -> THStorage *

p_newWithData :: FunPtr (Ptr CUChar -> CPtrdiff -> IO (Ptr C'THByteStorage)) Source #

p_newWithData : Pointer to function : data size -> THStorage *

p_newWithAllocator :: FunPtr (CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THByteStorage)) Source #

p_newWithAllocator : Pointer to function : size allocator allocatorContext -> THStorage *

p_newWithDataAndAllocator :: FunPtr (Ptr CUChar -> CPtrdiff -> Ptr C'THAllocator -> Ptr () -> IO (Ptr C'THByteStorage)) Source #

p_newWithDataAndAllocator : Pointer to function : data size allocator allocatorContext -> THStorage *

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

p_setFlag : Pointer to function : storage flag -> void

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

p_clearFlag : Pointer to function : storage flag -> void

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

p_retain : Pointer to function : storage -> void

p_swap :: FunPtr (Ptr C'THByteStorage -> Ptr C'THByteStorage -> IO ()) Source #

p_swap : Pointer to function : storage1 storage2 -> void

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

p_free : Pointer to function : storage -> void

p_resize :: FunPtr (Ptr C'THByteStorage -> CPtrdiff -> IO ()) Source #

p_resize : Pointer to function : storage size -> void

p_fill :: FunPtr (Ptr C'THByteStorage -> CUChar -> IO ()) Source #

p_fill : Pointer to function : storage value -> void