code: def _get_nSample(self):
      nSamples = 0
      for iteration in range(self.n_iterations):
          s = self.max_SH_iter - 1 - (iteration % self.max_SH_iter)
          n0 = int(np.floor(self.max_SH_iter / (s + 1)) * self.eta**s)
          ns = [
              max(int(n0 * (self.eta ** (-i))), 1) for i in range(s + 1)
          ]
          nSamples += sum(ns)
      logger.debug("total exp %d:" % nSamples)
      return nSamples
  
imports: import logging
  import numpy
  from six.moves import input
  from six import PY3
  from .AbstractProposer import AbstractProposer
  from .None import ProposerStatus
  from ..utils import set_default_keyvalue
  from .hpbandster.optimizers.bohb import BOHB
  from .hpbandster.optimizers.iterations import SuccessiveHalving
  import ConfigSpace
  from hpbandster.optimizers.config_generators.bohb import BOHB
  from hpbandster.core.dispatcher import Job
label_desc: Use image node_id 6 for calling the BOHBProposer obj's underlying member method code with example usage: obj._get_nSample() and returns: nSamples