parameters: (value, size, axis, name=None)
docstring: Pad a tensor with zeros on the right to a multiple of the given size.
  
    Args:
      value: Tensor to pad.
      size: The result will be a multiple of `size` along `axis`.
      axis: A nonnegative integer.
      name: Optional name for this operation.
  
    Returns:
      Padded value.
docstring_summary: Pad a tensor with zeros on the right to a multiple of the given size.
docstring_tokens: Pad a tensor with zeros on the right to a multiple of the given size .
function: def pad_to_multiple(value, size, axis, name=None):
    """Pad a tensor with zeros on the right to a multiple of the given size.
  
    Args:
      value: Tensor to pad.
      size: The result will be a multiple of `size` along `axis`.
      axis: A nonnegative integer.
      name: Optional name for this operation.
  
    Returns:
      Padded value.
    """
    with tf.name_scope(name, 'pad_to_multiple') as name:
      length = tf.shape(value)[axis]
      new_length = length // -size * -size  # Round up to multiple of size
      return pad_up_to(value, size=new_length, axis=axis, name=name)
function_tokens: def pad_to_multiple ( value , size , axis , name = None ) : with tf . name_scope ( name , 'pad_to_multiple' ) as name : length = tf . shape ( value ) [ axis ] new_length = length // - size * - size # Round up to multiple of size return pad_up_to ( value , size = new_length , axis = axis , name = name )