class_docstr: Inverting action
class_docstr_tok: ["Inverting","action"]
code: def forward(self, input: torch.Tensor) -> torch.Tensor:
      if self.feature_type == CONTINUOUS_ACTION:
          # Please don't re-order; ONNX messed up tensor type when torch.clamp is
          # the first operand.
          return (
              self.almost_one
              + torch.clamp(input, -self.almost_one, self.almost_one)
          ) * self.scaling_factor + self.min_serving_value
      return input
  
file_path: ReAgent/reagent/preprocessing/postprocessor.py
imports: from typing import Dict, Tuple
  import torch
  import torch.nn
  from reagent.core.parameters import NormalizationParameters
  from reagent.preprocessing.identify_types import CONTINUOUS_ACTION, DISCRETE_ACTION, DO_NOT_PREPROCESS
  from reagent.preprocessing.normalization import EPS, get_num_output_features
label_desc: Use image node_id 3 for calling the Postprocessor obj's underlying member method code with example usage: obj.forward(input) and returns: input, unknown