Uniform Initializer

A uniform initializer is an initializer algorithm to initialize a p-dimensional tensor WR n1 x ... x np with random numbers uniformly distributed on the interval [a, b), where a, bR and a < b.

Algorithm Parameters

In addition to common parameters of the initializer interface, a uniform initializer has the following parameters:

Parameter

Default Value

Description

a

-0.5

The left bound of the interval, a.

b

0.5

The right bound of the interval, b.

For more complete information about compiler optimizations, see our Optimization Notice.
Select sticky button color: 
Orange (only for download buttons)