class_docstr: Remove fixed parameters.
  
  Fixed parameters should not be included in the SearchSpace.
  This transform removes these parameters, leaving only tunable parameters.
  
  Transform is done in-place for observation features.
class_docstr_tok: ["Remove","fixed","parameters",".","Fixed","parameters","should","not","be","included","in","the","SearchSpace",".","This","transform","removes","these","parameters",",","leaving","only","tunable","parameters",".","Transform","is","done","in-place","for","observation","features","."]
code: def _transform_search_space(
      self, search_space: SearchSpace
  ) -> SearchSpace:
      tunable_parameters: List[
          Union[ChoiceParameter, RangeParameter]
      ] = []
      for p in search_space.parameters.values():
          if p.name not in self.fixed_parameters:
              # If it's not in fixed_parameters, it must be a tunable param.
              # pyre: p_ is declared to have type `Union[ChoiceParameter,
              # pyre: RangeParameter]` but is used as type `ax.core.
              # pyre-fixme[9]: parameter.Parameter`.
              p_: Union[ChoiceParameter, RangeParameter] = p
              tunable_parameters.append(p_)
      return construct_new_search_space(
          search_space=search_space,
          # pyre-ignore Incompatible parameter type [6]
          parameters=tunable_parameters,
          parameter_constraints=[
              pc.clone() for pc in search_space.parameter_constraints
          ],
      )
  
file_path: Ax/ax/modelbridge/transforms/remove_fixed.py
imports: from typing import Dict, List, Optional, TYPE_CHECKING, Union
  from ax.core.observation import Observation, ObservationFeatures
  from ax.core.parameter import ChoiceParameter, FixedParameter, RangeParameter
  from ax.core.search_space import SearchSpace
  from ax.modelbridge.transforms.base import Transform
  from ax.modelbridge.transforms.utils import construct_new_search_space
  from ax.models.types import TConfig
label_desc: Use image node_id 3 for calling the RemoveFixed obj's underlying member method code with example usage: obj._transform_search_space(search_space) and returns: construct_new_search_space