layer_init

layer_init(layer, scaling_factor: float = 1.0)

A helper function for layer initialization.