code: def __init__(self, layer):
      super(MXNetGraphNode, self).__init__(layer)
  
      if "attr" in layer:
          self.attr = layer["attr"]
      elif "param" in layer:
          self.attr = layer["param"]
      elif "attrs" in layer:
          self.attr = layer["attrs"]
      else:
          self.attr = None
  
file_path: MMdnn/mmdnn/conversion/mxnet/mxnet_graph.py
imports: import os
  import mxnet
  from mmdnn.conversion.common.DataStructure.graph import GraphNode, Graph
label_desc: Use image node_id 1 to create a new MXNetGraphNode object from inherited base classes: GraphNode with example: obj = MXNetGraphNode(layer)