Graph.random_normal(shape, mean, standard_deviation, seed=None, *, name=None)

Creates a sample of normally distributed random numbers.

  • shape (tuple or list) – The shape of the sampled random numbers.

  • mean (int or float) – The mean of the normal distribution.

  • standard_deviation (int or float) – The standard deviation of the normal distribution.

  • seed (int, optional) – A seed for the random number generator. Defaults to None, in which case a random value for the seed is used.

  • name (str, optional) – The name of the node.


A tensor containing a sample of normally distributed random numbers with shape shape.

Return type