docstr: Load network weights.
  data_path: The path to the numpy-serialized network weights
  session: The current TensorFlow session
  ignore_missing: If true, serialized weights for missing layers are ignored.
docstr_tok: ["Load","network","weights",".","data_path",":","The","path","to","the","numpy-serialized","network","weights","session",":","The","current","TensorFlow","session","ignore_missing",":","If","true",",","serialized","weights","for","missing","layers","are","ignored","."]
code: def load(self, data_path, session, ignore_missing=False):
      """Load network weights.
      data_path: The path to the numpy-serialized network weights
      session: The current TensorFlow session
      ignore_missing: If true, serialized weights for missing layers are ignored.
      """
      data_dict = np.load(
          data_path, encoding="latin1"
      ).item()  # pylint: disable=no-member
      for op_name in data_dict:
          with tf.variable_scope(op_name, reuse=True):
              for param_name, data in data_dict[op_name].items():
                  try:
                      var = tf.get_variable(param_name)
                      session.run(var.assign(data))
                  except ValueError:
                      if not ignore_missing:
                          raise
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  import cv2
  import os
  import inspect
label_desc: Use image node_id 3 for calling the Network obj's underlying member method code with example usage: obj.load(data_path, session, ignore_missing) without return types