hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.Char.TensorRandom

Synopsis

Documentation

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

c_random : state self -> void

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

c_clampedRandom : state self min max -> void

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

c_cappedRandom : state self max -> void

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

c_bernoulli : state self p -> void

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

c_bernoulli_DoubleTensor : state self p -> void

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

c_geometric : state self p -> void

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

p_random : Pointer to function : state self -> void

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

p_clampedRandom : Pointer to function : state self min max -> void

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

p_cappedRandom : Pointer to function : state self max -> void

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

p_bernoulli : Pointer to function : state self p -> void

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

p_bernoulli_DoubleTensor : Pointer to function : state self p -> void

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

p_geometric : Pointer to function : state self p -> void