# transformers 5.24.1 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input

        Align the long axis of the image to the longest axis of the specified size.

        Args:
            image (`torch.Tensor`):
                The image to be aligned.
            size (`SizeDict`):
                The size to align the long axis to.
        Returns:
            `torch.Tensor`: The aligned image.
        
=== parse google
short_description: 'Align the long axis of the image to the longest axis of the specified size.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'The image to be aligned.'
  kind: param
  key: 'param'
  arg_name: 'image'
  type_name: '`torch.Tensor`'
  is_optional: False
- DocstringParam
  description: 'The size to align the long axis to.'
  kind: param
  key: 'param'
  arg_name: 'size'
  type_name: '`SizeDict`'
  is_optional: False
- DocstringReturns
  description: 'The aligned image.'
  kind: returns
  key: 'returns'
  type_name: '`torch.Tensor`'
  is_generator: False
=== detect
google
=== compose google
Align the long axis of the image to the longest axis of the specified size.

Args:
    image (`torch.Tensor`): The image to be aligned.
    size (`SizeDict`): The size to align the long axis to.

Returns:
    `torch.Tensor`: The aligned image.
