class_docstr: Image resolution upscaling schedule.
class_docstr_tok: ["Image","resolution","upscaling","schedule","."]
docstr: Returns the scale factor for network block `block_id`.
docstr_tok: ["Returns","the","scale","factor","for","network","block","`","block_id","`","."]
code: def scale_factor(self, block_id):
      """Returns the scale factor for network block `block_id`."""
      if block_id < 1 or block_id > self._num_resolutions:
          raise ValueError(
              "`block_id` must be in [1, {}]".format(
                  self._num_resolutions
              )
          )
      return self._scale_base ** (self._num_resolutions - block_id)
  
imports: import math
  from magenta.models.gansynth.lib import layers
  import tensorflow.compat.v1
  import tf_slim
label_desc: Use image node_id 10 for calling the ResolutionSchedule obj's underlying member method code with example usage: obj.scale_factor(block_id) and returns: unknown