Uniform

Contents

Uniform#

class brainstate.nn.init.Uniform(min_val=0.0, max_val=1.0, seed=None, unit=Unit('1'))#

Initialize weights with uniform distribution.

Parameters:
  • min_val (Array | ndarray | bool | number | bool | int | float | complex | Quantity) – The lower limit of the uniform distribution.

  • max_val (Array | ndarray | bool | number | bool | int | float | complex | Quantity) – The upper limit of the uniform distribution.