code: def encrypt_tensor(self, tensor: torch.Tensor, obfuscate=False):
      coded = self._coder.encode(tensor)
      return self.encrypt_encoded(coded, obfuscate)
  
imports: import typing
  import torch
label_desc: Use image node_id 3 for calling the PHETensorEncryptor obj's underlying member method code with example usage: obj.encrypt_tensor(tensor, obfuscate) and returns: self