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

    Calculate the percentile max and min values in a given tensor

    Args:
        input (`torch.Tensor`):
            The target tensor to calculate percentile max and min.
        lower_percentile (`float`):
            If 0.1, means we return the value of the smallest 0.1% value in the tensor as percentile min.
        upper_percentile (`float`):
            If 99.9, means we return the value of the largest 0.1% value in the tensor as percentile max.
        output_tensor (`bool`, *optional*, defaults to `False`):
            If True, this function returns tensors, otherwise it returns values.

    Returns:
        `Tuple(torch.Tensor, torch.Tensor)`: Percentile min and max value of *input*
    
=== parse google
short_description: 'Calculate the percentile max and min values in a given tensor'
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'The target tensor to calculate percentile max and min.'
  kind: param
  key: 'param'
  arg_name: 'input'
  type_name: '`torch.Tensor`'
  is_optional: False
- DocstringParam
  description: 'If 0.1, means we return the value of the smallest 0.1% value in the tensor as percentile min.'
  kind: param
  key: 'param'
  arg_name: 'lower_percentile'
  type_name: '`float`'
  is_optional: False
- DocstringParam
  description: 'If 99.9, means we return the value of the largest 0.1% value in the tensor as percentile max.'
  kind: param
  key: 'param'
  arg_name: 'upper_percentile'
  type_name: '`float`'
  is_optional: False
- DocstringParam
  description: 'If True, this function returns tensors, otherwise it returns values.'
  kind: param
  key: 'param'
  arg_name: 'output_tensor'
  type_name: '`bool`'
  is_optional: True
  default: 'False'
  raw_type_name: '`bool`, *optional*, defaults to `False`'
- DocstringReturns
  description: '`Tuple(torch.Tensor, torch.Tensor)`: Percentile min and max value of *input*'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Calculate the percentile max and min values in a given tensor

Args:
    input (`torch.Tensor`): The target tensor to calculate percentile max and min.
    lower_percentile (`float`): If 0.1, means we return the value of the smallest 0.1% value in the tensor as percentile min.
    upper_percentile (`float`): If 99.9, means we return the value of the largest 0.1% value in the tensor as percentile max.
    output_tensor (`bool`, *optional*, defaults to `False`): If True, this function returns tensors, otherwise it returns values.

Returns:
    `Tuple(torch.Tensor, torch.Tensor)`: Percentile min and max value of *input*
