class_docstr: Image resolution upscaling schedule.
class_docstr_tok: ["Image","resolution","upscaling","schedule","."]
code: def downscale(self, images, scale):
      if self._scale_mode == "ALL":
          return layers.downscale(images, scale)
      elif self._scale_mode == "H":
          return layers.downscale_height(images, scale)
      else:
          self._raise_unsupported_scale_mode_error()
  
imports: import math
  from magenta.models.gansynth.lib import layers
  import tensorflow.compat.v1
  import tf_slim
label_desc: Use image node_id 9 for calling the ResolutionSchedule obj's underlying member method code with example usage: obj.downscale(images, scale) and returns: layers, layers