hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.Char.TensorMath

Synopsis

Documentation

c_fill :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CChar -> IO () Source #

c_fill : state self value -> void

c_zero :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO () Source #

c_zero : state self -> void

c_zeros :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THLongStorage -> IO () Source #

c_zeros : state r_ size -> void

c_zerosLike :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> IO () Source #

c_zerosLike : state r_ input -> void

c_ones :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THLongStorage -> IO () Source #

c_ones : state r_ size -> void

c_onesLike :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> IO () Source #

c_onesLike : state r_ input -> void

c_reshape :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> Ptr C'THLongStorage -> IO () Source #

c_reshape : state r_ t size -> void

c_numel :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO CPtrdiff Source #

c_numel : state t -> ptrdiff_t

c_cat :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CInt -> IO () Source #

c_cat : state result ta tb dimension -> void

c_catArray :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr (Ptr C'THCudaCharTensor) -> CInt -> CInt -> IO () Source #

c_catArray : state result inputs numInputs dimension -> void

c_nonzero :: Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaCharTensor -> IO () Source #

c_nonzero : state tensor self -> void

c_tril :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CLLong -> IO () Source #

c_tril : state self src k -> void

c_triu :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CLLong -> IO () Source #

c_triu : state self src k -> void

c_diag :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CLLong -> IO () Source #

c_diag : state self src k -> void

c_eye :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLLong -> CLLong -> IO () Source #

c_eye : state self n k -> void

c_trace :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO CLong Source #

c_trace : state self -> accreal

c_range :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLong -> CLong -> CLong -> IO () Source #

c_range : state r_ xmin xmax step -> void

c_arange :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLong -> CLong -> CLong -> IO () Source #

c_arange : state r_ xmin xmax step -> void

p_fill :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CChar -> IO ()) Source #

p_fill : Pointer to function : state self value -> void

p_zero :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO ()) Source #

p_zero : Pointer to function : state self -> void

p_zeros :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THLongStorage -> IO ()) Source #

p_zeros : Pointer to function : state r_ size -> void

p_zerosLike :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> IO ()) Source #

p_zerosLike : Pointer to function : state r_ input -> void

p_ones :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THLongStorage -> IO ()) Source #

p_ones : Pointer to function : state r_ size -> void

p_onesLike :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> IO ()) Source #

p_onesLike : Pointer to function : state r_ input -> void

p_reshape :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> Ptr C'THLongStorage -> IO ()) Source #

p_reshape : Pointer to function : state r_ t size -> void

p_numel :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO CPtrdiff) Source #

p_numel : Pointer to function : state t -> ptrdiff_t

p_cat :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CInt -> IO ()) Source #

p_cat : Pointer to function : state result ta tb dimension -> void

p_catArray :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr (Ptr C'THCudaCharTensor) -> CInt -> CInt -> IO ()) Source #

p_catArray : Pointer to function : state result inputs numInputs dimension -> void

p_nonzero :: FunPtr (Ptr C'THCState -> Ptr C'THCudaLongTensor -> Ptr C'THCudaCharTensor -> IO ()) Source #

p_nonzero : Pointer to function : state tensor self -> void

p_tril :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CLLong -> IO ()) Source #

p_tril : Pointer to function : state self src k -> void

p_triu :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CLLong -> IO ()) Source #

p_triu : Pointer to function : state self src k -> void

p_diag :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaCharTensor -> CLLong -> IO ()) Source #

p_diag : Pointer to function : state self src k -> void

p_eye :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLLong -> CLLong -> IO ()) Source #

p_eye : Pointer to function : state self n k -> void

p_trace :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO CLong) Source #

p_trace : Pointer to function : state self -> accreal

p_range :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLong -> CLong -> CLong -> IO ()) Source #

p_range : Pointer to function : state r_ xmin xmax step -> void

p_arange :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLong -> CLong -> CLong -> IO ()) Source #

p_arange : Pointer to function : state r_ xmin xmax step -> void