dragon.random¶
Functions¶
glorot_normal(…) : Return a tensor initialized from the glorot normal distribution.
glorot_uniform(…) : Return a tensor initialized from the glorot uniform distribution.
multinomial(…) : Return an index tensor sampled from the multinomial distribution.
normal(…) : Return a tensor initialized from the normal distribution.
normal_like(…) : Return a tensor initialized from the normal distribution with shape as the other.
permutation(…) : Return a tensor with value in the permuted range.
set_seed(…) : Set the global random seed.
truncated_normal(…) : Return a tensor initialized from the truncated normal distribution.
uniform(…) : Return a tensor initialized from the uniform distribution.
uniform_like(…) : Return a tensor initialized from the uniform distribution with shape as the other.