Function uniformInit

Creates a parameter initialiser that sets the initial value of each element in a parameter tensor to a different sample from a uniform distribution.

void delegate(Operation) uniformInit (
  float minval,
  float maxval
);

Parameters

NameDescription
minval The lower bound of the uniform distribution.
maxval The upper bound of the uniform distribution.

Returns

The constructed ParamInitializer.