[−][src]Module autograd::ndarray_ext::array_gen
Generates ndarrays which can be fed to autograd::variable()
etc.
Functions
bernoulli | Creates an ndarray sampled from a bernoulli distribution with given params. |
exponential | Creates an ndarray sampled from a exponential distribution with given params. |
from_scalar | Creates an ndarray object from a scalar. |
gamma | Creates an ndarray sampled from a gamma distribution with given params. |
glorot_normal | Glorot normal initialization. (a.k.a. Xavier normal initialization) |
glorot_uniform | Glorot uniform initialization. (a.k.a. Xavier uniform initialization) |
log_normal | Creates an ndarray sampled from a log normal distribution with given params. |
ones | Ones. |
permutation | Permutation. |
random_normal | Creates an ndarray sampled from a normal distribution with given params. |
random_uniform | Creates an ndarray sampled from a uniform distribution with given params. |
standard_normal | Creates an ndarray sampled from the standard normal distribution. |
standard_uniform | Creates an ndarray sampled from the standard uniform distribution. |
zeros | Zeros. |