{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.THC.Char.TensorRandom where
import Foreign
import Foreign.C.Types
import Data.Word
import Data.Int
import Torch.Types.TH
import Torch.Types.THC
foreign import ccall "THCTensorRandom.h THCudaCharTensor_random"
c_random :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO ()
foreign import ccall "THCTensorRandom.h THCudaCharTensor_clampedRandom"
c_clampedRandom :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLLong -> CLLong -> IO ()
foreign import ccall "THCTensorRandom.h THCudaCharTensor_cappedRandom"
c_cappedRandom :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLLong -> IO ()
foreign import ccall "THCTensorRandom.h THCudaCharTensor_bernoulli"
c_bernoulli :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CDouble -> IO ()
foreign import ccall "THCTensorRandom.h THCudaCharTensor_bernoulli_DoubleTensor"
c_bernoulli_DoubleTensor :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaDoubleTensor -> IO ()
foreign import ccall "THCTensorRandom.h THCudaCharTensor_geometric"
c_geometric :: Ptr C'THCState -> Ptr C'THCudaCharTensor -> CDouble -> IO ()
foreign import ccall "THCTensorRandom.h &THCudaCharTensor_random"
p_random :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaCharTensor_clampedRandom"
p_clampedRandom :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLLong -> CLLong -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaCharTensor_cappedRandom"
p_cappedRandom :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CLLong -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaCharTensor_bernoulli"
p_bernoulli :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CDouble -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaCharTensor_bernoulli_DoubleTensor"
p_bernoulli_DoubleTensor :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> Ptr C'THCudaDoubleTensor -> IO ())
foreign import ccall "THCTensorRandom.h &THCudaCharTensor_geometric"
p_geometric :: FunPtr (Ptr C'THCState -> Ptr C'THCudaCharTensor -> CDouble -> IO ())