code: def decodes(self, o: TensorText):
      pad_idx = self.pad_idx if hasattr(self, "pad_idx") else 1
      return o[o != pad_idx]
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
label_desc: Use image node_id 2 for calling the Pad_Input obj's underlying member method code with example usage: obj.decodes(o) and returns: o