class_docstr: Exponential Dynamic Batch Scheduler: scales up batch size by a factor of
  gamma
class_docstr_tok: ["Exponential","Dynamic","Batch","Scheduler",":","scales","up","batch","size","by","a","factor","of","gamma"]
code: def get_max_steps(self):
      if self.max_steps:
          return self.max_steps
      self.max_steps: float = math.floor(
          math.log(
              self.scheduler_config.end_batch_size
              / self.scheduler_config.start_batch_size
          )
          / math.log(self.scheduler_config.gamma)
      )
  
      return self.max_steps
  
imports: import math
  from typing import Iterable
  from pytext.common.constants import Stage
  from pytext.config.module_config import ModuleConfig
  from .data import PoolingBatcher
  from .sources import RawExample
label_desc: Use image node_id 2 for calling the ExponentialDynamicPoolingBatcher obj's underlying member method code with example usage: obj.get_max_steps() and returns: self, self