Initializers

class ivy.neural_net_stateful.initializers.Constant(constant)[source]

Bases: object

__init__(constant)[source]

Initialize self. See help(type(self)) for accurate signature.

create_variables(var_shape, dev_str, fan_out=None, fan_in=None)[source]

Create internal variables for the layer

class ivy.neural_net_stateful.initializers.FirstLayerSiren[source]

Bases: ivy.neural_net_stateful.initializers.Uniform

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

class ivy.neural_net_stateful.initializers.GlorotUniform[source]

Bases: ivy.neural_net_stateful.initializers.Uniform

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

class ivy.neural_net_stateful.initializers.KaimingNormal(mean=0, fan_mode='fan_in')[source]

Bases: object

__init__(mean=0, fan_mode='fan_in')[source]

Initialize self. See help(type(self)) for accurate signature.

create_variables(var_shape, dev_str, fan_out=None, fan_in=None, negative_slope=0.0)[source]

Create internal variables for the layer

class ivy.neural_net_stateful.initializers.Ones[source]

Bases: ivy.neural_net_stateful.initializers.Constant

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

class ivy.neural_net_stateful.initializers.Siren(w0=30)[source]

Bases: ivy.neural_net_stateful.initializers.Uniform

__init__(w0=30)[source]

Initialize self. See help(type(self)) for accurate signature.

class ivy.neural_net_stateful.initializers.Uniform(numerator, fan_mode, power, gain)[source]

Bases: object

__init__(numerator, fan_mode, power, gain)[source]

Initialize self. See help(type(self)) for accurate signature.

create_variables(var_shape, dev_str, fan_out=None, fan_in=None)[source]

Create internal variables for the layer

class ivy.neural_net_stateful.initializers.Zeros[source]

Bases: ivy.neural_net_stateful.initializers.Constant

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.