code: def __init__(self, layer):
      self._name = layer.scopeName()
      import re
  
      self.weights_name = ".".join(
          re.findall(r"\[([\w\d.]+)\]", self._name)
      )
      super(PytorchGraphNode040, self).__init__(layer)
  
imports: from mmdnn.conversion.common.DataStructure.graph import GraphNode, Graph
  import torch
  import torch.autograd
  import torch.serialization
  import contextlib
  from torch.jit import _unique_state_dict
label_desc: Use image node_id 1 to create a new PytorchGraphNode040 object from inherited base classes: PytorchGraphNode with example: obj = PytorchGraphNode040(layer)