code: def reverse(transformed_space, grid):
      """Reverse transformations on the grid to bring back to original space"""
      for param in grid.keys():
          transformed_dim = transformed_space[param].original_dimension
          param_grid = []
          for value in grid[param]:
              param_grid.append(transformed_dim.reverse(value))
          grid[param] = param_grid
      return grid
  
file_path: orion/src/orion/analysis/partial_dependency_utils.py
imports: import copy
  import itertools
  import numpy
  import pandas
  from orion.analysis.base import flatten_numpy, flatten_params, to_numpy, train_regressor
  from orion.core.utils import format_trials
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 2 for calling a global function with example usage: reverse(transformed_space, grid) and returns: grid