Note:
 When running on CUDA, "row * col" must be less than 2^{59} to
 prevent overflow during calculation.

Parameters:
      * row ("int") -- number of rows in the 2-D matrix.
  * **col** ("int") -- number of columns in the 2-D matrix.

  * **offset** ("int") -- diagonal offset from the main diagonal.
    Default: if not provided, 0.

Keyword Arguments:
      * dtype ("torch.dtype", optional) -- the desired data type
        of returned tensor. Default: if "None", "torch.long".
  * **device** ("torch.device", optional) -- the desired device of
    returned tensor. Default: if "None", uses the current device
    for the default tensor type (see
    "torch.set_default_tensor_type()"). "device" will be the CPU
    for CPU tensor types and the current CUDA device for CUDA
    tensor types.

  * **layout** ("torch.layout", optional) -- currently only
    support "torch.strided".

Example:
  >>> a = torch.tril_indices(3, 3)
