class_docstr: Configuration for `BertModel`.
class_docstr_tok: ["Configuration","for","`","BertModel","`","."]
docstr: Constructs a `BertConfig` from a json file of parameters.
docstr_tok: ["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.io.gfile.GFile(json_file, "r") as reader:
          text = reader.read()
      return cls.from_dict(json.loads(text))
  
imports: import copy
  import json
  import math
  import numpy
  import tensorflow
  import functools
  from transformers.activations_tf import gelu
  from finetune.optimizers.recompute_grads import recompute_grad
  from finetune.nn.auxiliary import embed_position
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