

def __init__(self, output_dim, init='glorot_uniform', activation='linear', weights=None, W_regularizer=None, b_regularizer=None, activity_regularizer=None, W_constraint=None, b_constraint=None, bias=True, input_dim=None, **kwargs):
    self.init = initializations.get(init)
    self.activation = activations.get(activation)
    self.output_dim = output_dim
    self.input_dim = input_dim
    self.W_regularizer = regularizers.get(W_regularizer)
    self.b_regularizer = regularizers.get(b_regularizer)
    self.activity_regularizer = regularizers.get(activity_regularizer)
    self.W_constraint = constraints.get(W_constraint)
    self.b_constraint = constraints.get(b_constraint)
    self.bias = bias
    weights.initial_weights = weights
    self.input_spec = [InputSpec(ndim=2)]
    if self.input_dim:
        kwargs['input_shape'] = (self.input_dim,)
    super(Dense, self).__init__(**kwargs)

dataset/ETHPy150Open fchollet/keras/keras/layers/core.py Dense.__init__/VarMisuse@150/209 `self`->`weights`