code: def __init__(self, key, value, attr_type):
      self.name = key
      self.value = value
      self.type = attr_type
      self.visible = (
          True
          if key
          not in [
              "use_mkldnn",
              "use_cudnn",
              "op_callstack",
              "op_role",
              "op_role_var",
              "op_namescope",
              "is_test",
          ]
          else False
      )
      super(Attribute, self).__init__(
          name=self.name,
          value=self.value,
          type=self.type,
          visible=self.visible,
      )
  
imports: from collections import defaultdict
  from collections import deque
label_desc: Use image node_id 1 to create a new Attribute object from inherited base classes: dict with example: obj = Attribute(key, value, attr_type)