(images, scale)
return images
Box upscaling along the H (axis=1) dimension.

  Args:
    images: A 4D `Tensor` in NHWC format.
    scale: A positive integer scale.

  Returns:
    A 4D `Tensor` of `images` up scaled by a factor `scale`.

  Raises:
    ValueError: If `scale` is not a positive integer.
Box upscaling along the H (axis=1) dimension.
Box upscaling along the H ( axis = 1 ) dimension .
def upscale_height(images, scale):
  """Box upscaling along the H (axis=1) dimension.

  Args:
    images: A 4D `Tensor` in NHWC format.
    scale: A positive integer scale.

  Returns:
    A 4D `Tensor` of `images` up scaled by a factor `scale`.

  Raises:
    ValueError: If `scale` is not a positive integer.
  """
  scale = _get_validated_scale(scale)
  if scale == 1:
    return images
  images = tf.batch_to_space_nd(
      tf.tile(images, [scale, 1, 1, 1]), block_shape=[scale], crops=[[0, 0]])
  return images
def upscale_height ( images , scale ) : scale = _get_validated_scale ( scale ) if scale == 1 : return images images = tf . batch_to_space_nd ( tf . tile ( images , [ scale , 1 , 1 , 1 ] ) , block_shape = [ scale ] , crops = [ [ 0 , 0 ] ] ) return images