hasktorch-ffi-thc-0.0.1.0: Bindings to Cutorch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.THC.TensorRandom

Synopsis

Documentation

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

c_THCRandom_init : state num_devices current_device -> void

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

c_THCRandom_shutdown : state -> void

c_THCRandom_seed :: Ptr C'THCState -> IO CULong Source #

c_THCRandom_seed : state -> uint64_t

c_THCRandom_seedAll :: Ptr C'THCState -> IO CULong Source #

c_THCRandom_seedAll : state -> uint64_t

c_THCRandom_manualSeed :: Ptr C'THCState -> CULong -> IO () Source #

c_THCRandom_manualSeed : state the_seed_ -> void

c_THCRandom_manualSeedAll :: Ptr C'THCState -> CULong -> IO () Source #

c_THCRandom_manualSeedAll : state the_seed_ -> void

c_THCRandom_initialSeed :: Ptr C'THCState -> IO CULong Source #

c_THCRandom_initialSeed : state -> uint64_t

c_THCRandom_getRNGState :: Ptr C'THCState -> Ptr C'THByteTensor -> IO () Source #

c_THCRandom_getRNGState : state rng_state -> void

c_THCRandom_setRNGState :: Ptr C'THCState -> Ptr C'THByteTensor -> IO () Source #

c_THCRandom_setRNGState : state rng_state -> void

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

p_THCRandom_init : Pointer to function : state num_devices current_device -> void

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

p_THCRandom_shutdown : Pointer to function : state -> void

p_THCRandom_seed :: FunPtr (Ptr C'THCState -> IO CULong) Source #

p_THCRandom_seed : Pointer to function : state -> uint64_t

p_THCRandom_seedAll :: FunPtr (Ptr C'THCState -> IO CULong) Source #

p_THCRandom_seedAll : Pointer to function : state -> uint64_t

p_THCRandom_manualSeed :: FunPtr (Ptr C'THCState -> CULong -> IO ()) Source #

p_THCRandom_manualSeed : Pointer to function : state the_seed_ -> void

p_THCRandom_manualSeedAll :: FunPtr (Ptr C'THCState -> CULong -> IO ()) Source #

p_THCRandom_manualSeedAll : Pointer to function : state the_seed_ -> void

p_THCRandom_initialSeed :: FunPtr (Ptr C'THCState -> IO CULong) Source #

p_THCRandom_initialSeed : Pointer to function : state -> uint64_t

p_THCRandom_getRNGState :: FunPtr (Ptr C'THCState -> Ptr C'THByteTensor -> IO ()) Source #

p_THCRandom_getRNGState : Pointer to function : state rng_state -> void

p_THCRandom_setRNGState :: FunPtr (Ptr C'THCState -> Ptr C'THByteTensor -> IO ()) Source #

p_THCRandom_setRNGState : Pointer to function : state rng_state -> void