hasktorch-ffi-th-0.0.1.0: Bindings to Torch

Safe HaskellNone
LanguageHaskell2010

Torch.FFI.TH.Int.TensorRandom

Synopsis

Documentation

c_random_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> IO () Source #

c_random : self _generator -> void

c_random :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> IO () Source #

alias of c_random_ with unused argument (for CTHState) to unify backpack signatures.

c_clampedRandom_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> CLLong -> CLLong -> IO () Source #

c_clampedRandom : self _generator min max -> void

c_clampedRandom :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> CLLong -> CLLong -> IO () Source #

alias of c_clampedRandom_ with unused argument (for CTHState) to unify backpack signatures.

c_cappedRandom_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> CLLong -> IO () Source #

c_cappedRandom : self _generator max -> void

c_cappedRandom :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> CLLong -> IO () Source #

alias of c_cappedRandom_ with unused argument (for CTHState) to unify backpack signatures.

c_geometric_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> CDouble -> IO () Source #

c_geometric : self _generator p -> void

c_geometric :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> CDouble -> IO () Source #

alias of c_geometric_ with unused argument (for CTHState) to unify backpack signatures.

c_bernoulli_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> CDouble -> IO () Source #

c_bernoulli : self _generator p -> void

c_bernoulli :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> CDouble -> IO () Source #

alias of c_bernoulli_ with unused argument (for CTHState) to unify backpack signatures.

c_bernoulli_FloatTensor_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> Ptr C'THFloatTensor -> IO () Source #

c_bernoulli_FloatTensor : self _generator p -> void

c_bernoulli_FloatTensor :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> Ptr C'THFloatTensor -> IO () Source #

alias of c_bernoulli_FloatTensor_ with unused argument (for CTHState) to unify backpack signatures.

c_bernoulli_DoubleTensor_ :: Ptr C'THIntTensor -> Ptr C'THGenerator -> Ptr C'THDoubleTensor -> IO () Source #

c_bernoulli_DoubleTensor : self _generator p -> void

c_bernoulli_DoubleTensor :: Ptr C'THState -> Ptr C'THIntTensor -> Ptr C'THGenerator -> Ptr C'THDoubleTensor -> IO () Source #

alias of c_bernoulli_DoubleTensor_ with unused argument (for CTHState) to unify backpack signatures.

p_random :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> IO ()) Source #

p_random : Pointer to function : self _generator -> void

p_clampedRandom :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> CLLong -> CLLong -> IO ()) Source #

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

p_cappedRandom :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> CLLong -> IO ()) Source #

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

p_geometric :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> CDouble -> IO ()) Source #

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

p_bernoulli :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> CDouble -> IO ()) Source #

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

p_bernoulli_FloatTensor :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> Ptr C'THFloatTensor -> IO ()) Source #

p_bernoulli_FloatTensor : Pointer to function : self _generator p -> void

p_bernoulli_DoubleTensor :: FunPtr (Ptr C'THIntTensor -> Ptr C'THGenerator -> Ptr C'THDoubleTensor -> IO ()) Source #

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