hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.Byte.TensorRandom

Synopsis

Documentation

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

c_random : state self -> void

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

c_clampedRandom : state self min max -> void

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

c_cappedRandom : state self max -> void

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

c_bernoulli : state self p -> void

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

c_bernoulli_DoubleTensor : state self p -> void

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

c_geometric : state self p -> void

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

p_random : Pointer to function : state self -> void

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

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

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

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

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

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

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

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

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

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