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

        A utility that returns the number of discrete image codes (placeholder tokens) for a given image size.

        Args:
            height (`int`):
                Height of the input image.
            width (`int`):
                Width of the input image.
            images_kwargs (`dict`, *optional*)
                Any kwargs to override defaults of the image processor.
        Returns:
            `int`: Number of image codes per image.
        
=== parse google
short_description: 'A utility that returns the number of discrete image codes (placeholder tokens) for a given image size.'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'Height of the input image.'
  kind: param
  key: 'param'
  arg_name: 'height'
  type_name: '`int`'
  is_optional: False
- DocstringParam
  description: 'Width of the input image.'
  kind: param
  key: 'param'
  arg_name: 'width'
  type_name: '`int`'
  is_optional: False
- DocstringParam
  description: 'Any kwargs to override defaults of the image processor.'
  kind: param
  key: 'param'
  arg_name: 'images_kwargs'
  type_name: '`dict`'
  is_optional: True
  raw_type_name: '`dict`, *optional*'
- DocstringReturns
  description: 'Number of image codes per image.'
  kind: returns
  key: 'returns'
  type_name: '`int`'
  is_generator: False
=== detect
google
=== compose google
A utility that returns the number of discrete image codes (placeholder tokens) for a given image size.

Args:
    height (`int`): Height of the input image.
    width (`int`): Width of the input image.
    images_kwargs (`dict`, *optional*): Any kwargs to override defaults of the image processor.

Returns:
    `int`: Number of image codes per image.
