class_docstr: Defines parameter ranges for tuning.
class_docstr_tok: ["Defines","parameter","ranges","for","tuning","."]
code: def fix_select_params(self, hp):
      ctrs = [
          self._categorical_params,
          self._discrete_params,
          self._float_params,
          self._int_params,
      ]
      for key, val in hp.values().iteritems():
          for ctr in ctrs:
              if key in ctr:
                  del ctr[key]
          self.set_discrete(key, [val])
  
file_path: tensor2tensor/tensor2tensor/layers/common_hparams.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from six.moves import zip
  from tensor2tensor.utils import hparam
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
label_desc: Use image node_id 7 for calling the RangedHParams obj's underlying member method code with example usage: obj.fix_select_params(hp) without return types