hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.Short.TensorMathReduce

Synopsis

Documentation

c_sum :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO () Source #

c_sum : state self src dim keepdim -> void

c_prod :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO () Source #

c_prod : state self src dim keepdim -> void

c_sumall :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CLong Source #

c_sumall : state self -> accreal

c_prodall :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CLong Source #

c_prodall : state self -> accreal

c_min :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO () Source #

c_min : state values indices src dim keepdim -> void

c_max :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO () Source #

c_max : state values indices src dim keepdim -> void

c_minall :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CShort Source #

c_minall : state self -> real

c_maxall :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CShort Source #

c_maxall : state self -> real

c_medianall :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CShort Source #

c_medianall : state self -> real

c_median :: Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO () Source #

c_median : state values indices src dim keepdim -> void

p_sum :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ()) Source #

p_sum : Pointer to function : state self src dim keepdim -> void

p_prod :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ()) Source #

p_prod : Pointer to function : state self src dim keepdim -> void

p_sumall :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CLong) Source #

p_sumall : Pointer to function : state self -> accreal

p_prodall :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CLong) Source #

p_prodall : Pointer to function : state self -> accreal

p_min :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ()) Source #

p_min : Pointer to function : state values indices src dim keepdim -> void

p_max :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ()) Source #

p_max : Pointer to function : state values indices src dim keepdim -> void

p_minall :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CShort) Source #

p_minall : Pointer to function : state self -> real

p_maxall :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CShort) Source #

p_maxall : Pointer to function : state self -> real

p_medianall :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> IO CShort) Source #

p_medianall : Pointer to function : state self -> real

p_median :: FunPtr (Ptr C'THCState -> Ptr C'THCudaShortTensor -> Ptr C'THCudaLongTensor -> Ptr C'THCudaShortTensor -> CInt -> CInt -> IO ()) Source #

p_median : Pointer to function : state values indices src dim keepdim -> void