class_docstr: Super class for all numerical type hyperparameters.
docstr: Get the total number of possible values using step.
docstr_tok: ["Get","the","total","number","of","possible","values","using","step","."]
code: def _get_n_values(self):
      """Get the total number of possible values using step."""
      if self.sampling == "linear":
          # +1 so that max_value may be sampled.
          return int((self.max_value - self.min_value) // self.step + 1)
      # For log and reverse_log
      # +1 so that max_value may be sampled.
      return (
          int(
              math.log(self.max_value / self.min_value, self.step)
              + 1e-8
          )
          + 1
      )
  
file_path: keras-tuner/keras_tuner/engine/hyperparameters/hp_types/numerical.py
imports: import math
  from keras_tuner.engine.hyperparameters import hp_utils
  from keras_tuner.engine.hyperparameters import hyperparameter
label_desc: Use image node_id 5 for calling the Numerical obj's underlying member method code with example usage: obj._get_n_values() and returns: unknown, int