(cls, json_object)
return config
Constructs a `BertConfig` from a Python dictionary of parameters.
Constructs a `BertConfig` from a Python dictionary of parameters.
Constructs a BertConfig from a Python dictionary of parameters .
def from_dict(cls, json_object):
    """Constructs a `BertConfig` from a Python dictionary of parameters."""
    config = BertConfig(vocab_size=None)
    for (key, value) in six.iteritems(json_object):
      config.__dict__[key] = value
    return config
def from_dict ( cls , json_object ) : config = BertConfig ( vocab_size = None ) for ( key , value ) in six . iteritems ( json_object ) : config . __dict__ [ key ] = value return config