code: def bind(self, **attrs):
      for key, val in attrs.items():
          if key not in self.ATTRS:
              raise AttributeError
          else:
              setattr(self, key, val)
      self._post_bind()
  
imports: import abc
  import paddle
  from paddlepanseg.core import infer
label_desc: Use image node_id 2 for calling the _LazyBindingMixin obj's underlying member method code with example usage: obj.bind() without return types