Function uniformSample

Creates a tensor that will contain different randomly generated data each time it is evaluated.

Operation uniformSample (
  ulong[] shape,
  string mod = __MODULE__,
  ulong line = cast(ulong)__LINE__
);

All elements in the tensor will be drawn from uniformly from the interval (0, 1]

Parameters

NameDescription
shape The shape of the random tensor