code: def _get_device_properties(device=torch.device("cuda")):
      # type: (str or torch.device) -> Tuple[int, int]
      properties = torch.cuda.get_device_properties(device)
      return properties.major, properties.minor
  
file_path: apex/apex/contrib/test/fmha/test_fmha.py
imports: import math
  import unittest
  import torch
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _get_device_properties(device) and returns: properties,  properties