class_docstr: Configuration for `BertModel`.
class_docstr_tok: ["Configuration","for","`","BertModel","`","."]
docstr: Constructs a `BertConfig` from a json file of parameters.
code: def from_json_file(cls, json_file):
      """Constructs a `BertConfig` from a json file of parameters."""
      with tf.gfile.GFile(json_file, "r") as reader:
          text = reader.read()
      return cls.from_dict(json.loads(text))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import copy
  import json
  import math
  import re
  import mesh_tensorflow
  import mesh_tensorflow.transformer.moe
  import six
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the BertConfig obj's underlying member method code with example usage: obj.from_json_file(cls, json_file) and returns: cls