parameters: (self, layer, name)
return_statement: return {'min_var': min_weight, 'max_var': max_weight}
docstring: Add min and max vars to layer.
docstring_summary: Add min and max vars to layer.
docstring_tokens: Add min and max vars to layer .
function: def _add_range_weights(self, layer, name):
      """Add min and max vars to layer."""
      min_weight = layer.add_weight(
          name + '_min',
          initializer=keras.initializers.Constant(-6.0),
          trainable=False)
      max_weight = layer.add_weight(
          name + '_max',
          initializer=keras.initializers.Constant(6.0),
          trainable=False)
  
      return {'min_var': min_weight, 'max_var': max_weight}
function_tokens: def _add_range_weights ( self , layer , name ) : min_weight = layer . add_weight ( name + '_min' , initializer = keras . initializers . Constant ( - 6.0 ) , trainable = False ) max_weight = layer . add_weight ( name + '_max' , initializer = keras . initializers . Constant ( 6.0 ) , trainable = False ) return { 'min_var' : min_weight , 'max_var' : max_weight }