# torch 2.15.0 (BSD-3-Clause), harvested by tools/harvest_corpus.py
=== input
Return the percent of time over the past sample period during which one or
    more kernels was executing on the GPU as given by `nvidia-smi`.

    Args:
        device (torch.device or int, optional): selected device. Returns
            statistic for the current device, given by :func:`~torch.cuda.current_device`,
            if :attr:`device` is ``None`` (default).

    Warning: Each sample period may be between 1 second and 1/6 second,
    depending on the product being queried.
    
=== parse google
short_description: |
  Return the percent of time over the past sample period during which one or
  more kernels was executing on the GPU as given by `nvidia-smi`.
long_description: |
  Warning: Each sample period may be between 1 second and 1/6 second,
  depending on the product being queried.
blank_after_short_description: True
blank_after_long_description: True
style: google
- DocstringParam
  description: |
    selected device. Returns
    statistic for the current device, given by :func:`~torch.cuda.current_device`,
    if :attr:`device` is ``None`` (default).
  kind: param
  key: 'param'
  arg_name: 'device'
  type_name: 'torch.device or int'
  is_optional: True
  raw_type_name: 'torch.device or int, optional'
=== detect
google
=== compose google
Return the percent of time over the past sample period during which one or
more kernels was executing on the GPU as given by `nvidia-smi`.

Warning: Each sample period may be between 1 second and 1/6 second,
depending on the product being queried.

Args:
    device (torch.device or int, optional): selected device. Returns
        statistic for the current device, given by :func:`~torch.cuda.current_device`,
        if :attr:`device` is ``None`` (default).
