code: def decrypt_encoded(self, tensor: "PHETensor"):
      from ._tensor import PHETensor, PHETensorEncoded
  
      if isinstance(tensor, PHETensor):
          data = self._sk.decrypt_to_encoded(tensor.data)
          return PHETensorEncoded(
              tensor.coder,
              tensor.shape,
              data,
              tensor.dtype,
              tensor.device,
          )
  
      elif hasattr(tensor, "decrypt_encoded"):
          return tensor.decrypt_encoded(self)
      raise NotImplementedError(f"`{tensor}` not supported")
  
imports: import typing
  import torch
label_desc: Use image node_id 2 for calling the PHETensorDecryptor obj's underlying member method code with example usage: obj.decrypt_encoded(tensor) and returns: PHETensorEncoded, tensor