code: def get_states(self):
      return {
          "transform_states": self._get_transform_states(),
          "prev_prediction": self.prev_prediction,
      }
  
imports: import paddle
  import paddle.nn.functional
  import numpy
  from inference.transforms import AddHorizontalFlip, SigmoidForPred, LimitLongestSide
  from .ops import DistMaps, ScaleLayer, BatchImageNormalize
label_desc: Use image node_id 12 for calling the BasePredictor obj's underlying member method code with example usage: obj.get_states() and returns: dict