code: def set_weight(self, layer_name, weight_name, data):
      if not layer_name in self.weights:
          self.weights[layer_name] = dict()
      layer = self.weights[layer_name]
      layer[weight_name] = data
  
file_path: MMdnn/mmdnn/conversion/common/DataStructure/parser.py
imports: import numpy
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
label_desc: Use image node_id 6 for calling the Parser obj's underlying member method code with example usage: obj.set_weight(layer_name, weight_name, data) without return types