docstr: Public transform method.
  
  Parameters
  ----------
  x
      `torch.Tensor` array to be transformed
docstr_tok: ["Public","transform","method",".","Parameters","--","--","--","--","--","x","`","torch.Tensor","`","array","to","be","transformed"]
code: def transform(self, x: torch.Tensor):
      """Public transform method.
  
      Parameters
      ----------
      x
          `torch.Tensor` array to be transformed
      """
      raise NotImplementedError()
  
imports: from abc import ABC, abstractmethod
  from typing import Optional
  from typing_extensions import Self
  import torch
  import numpy
  from torch.nn import Module
  from alibi_detect.exceptions import NotFittedError
label_desc: Use image node_id 2 for calling the BaseTransformTorch obj's underlying member method code with example usage: obj.transform(x) without return types