randGroupWeights <group-list> [-mean <mean> | -range <range> | -type <link-type>]
This randomizes the weights projecting to the specified groups. If a link type is given, only links of that type will be changed. Otherwise all links will be changed. Unlike the resetNet command, this will randomize frozen weights.
Weights are selected from a flat distribution over mean+/-range. If one of these values is not specified, the values for the blocks containing the links will be used. If the values aren't specified for a block, those for the network will be used. The range must be positive, but the mean may be negative.
This command will not change the default mean and range values for link blocks.
Randomizes only links of type "bias" for the "hidden" group. New weights are selected from the range [-1.3,-0.7).
lens> randGroupWeights hidden -m 1.0 -r 0.3 -t bias