# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Groupwise dequantization within each channel for a 2-d Tensor using the quantization parameters
    to map from floating point to quantized values. This means for each row of a 2-d Tensor
    (M, N), we calculate scales/zero_points for each `group_size` elements
    and quantize every `group_size` elements with the same quantization parameter.
    The dimension for scales/zero_points will be (M * ceil(N, group_size),)

    Args:
       input (torch.Tensor): quantized Tensor (uint8/int8 etc.)
       scales (float32 torch.Tensor): quantization parameter for per channel group affine quantization
       zero_points (int32 torch.Tensor): quantization parameter for per channel group affine quantization
       quant_min (int): minimum quantized value for input Tensor
       quant_max (int): maximum quantized value for input Tensor
       dtype (torch.dtype): dtype (e.g. torch.uint8) for input Tensor
       output_dtype (torch.dtype): dtype (e.g. torch.float32) for output Tensor

    Returns:
       dequantized Tensor with dtype `output_dtype`
    
=== parse google
short_description: |
  Groupwise dequantization within each channel for a 2-d Tensor using the quantization parameters
  to map from floating point to quantized values. This means for each row of a 2-d Tensor
  (M, N), we calculate scales/zero_points for each `group_size` elements
  and quantize every `group_size` elements with the same quantization parameter.
  The dimension for scales/zero_points will be (M * ceil(N, group_size),)
blank_after_short_description: True
blank_after_long_description: False
style: google
- DocstringParam
  description: 'quantized Tensor (uint8/int8 etc.)'
  kind: param
  key: 'param'
  arg_name: 'input'
  type_name: 'torch.Tensor'
  is_optional: False
- DocstringParam
  description: 'quantization parameter for per channel group affine quantization'
  kind: param
  key: 'param'
  arg_name: 'scales'
  type_name: 'float32 torch.Tensor'
  is_optional: False
- DocstringParam
  description: 'quantization parameter for per channel group affine quantization'
  kind: param
  key: 'param'
  arg_name: 'zero_points'
  type_name: 'int32 torch.Tensor'
  is_optional: False
- DocstringParam
  description: 'minimum quantized value for input Tensor'
  kind: param
  key: 'param'
  arg_name: 'quant_min'
  type_name: 'int'
  is_optional: False
- DocstringParam
  description: 'maximum quantized value for input Tensor'
  kind: param
  key: 'param'
  arg_name: 'quant_max'
  type_name: 'int'
  is_optional: False
- DocstringParam
  description: 'dtype (e.g. torch.uint8) for input Tensor'
  kind: param
  key: 'param'
  arg_name: 'dtype'
  type_name: 'torch.dtype'
  is_optional: False
- DocstringParam
  description: 'dtype (e.g. torch.float32) for output Tensor'
  kind: param
  key: 'param'
  arg_name: 'output_dtype'
  type_name: 'torch.dtype'
  is_optional: False
- DocstringReturns
  description: 'dequantized Tensor with dtype `output_dtype`'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Groupwise dequantization within each channel for a 2-d Tensor using the quantization parameters
to map from floating point to quantized values. This means for each row of a 2-d Tensor
(M, N), we calculate scales/zero_points for each `group_size` elements
and quantize every `group_size` elements with the same quantization parameter.
The dimension for scales/zero_points will be (M * ceil(N, group_size),)

Args:
    input (torch.Tensor): quantized Tensor (uint8/int8 etc.)
    scales (float32 torch.Tensor): quantization parameter for per channel group affine quantization
    zero_points (int32 torch.Tensor): quantization parameter for per channel group affine quantization
    quant_min (int): minimum quantized value for input Tensor
    quant_max (int): maximum quantized value for input Tensor
    dtype (torch.dtype): dtype (e.g. torch.uint8) for input Tensor
    output_dtype (torch.dtype): dtype (e.g. torch.float32) for output Tensor

Returns:
    dequantized Tensor with dtype `output_dtype`
