code: def _get_device():
      if torch.cuda.is_available():
          device = "cuda:0"
      else:
          device = "cpu"
      return device
  
imports: import numpy
  from golem.utilities.requirements_notificator import warn_requirement
  from fedot.core.data.data import InputData
  from fedot.core.operations.evaluation.operation_implementations.implementation_interfaces import ModelImplementation
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.dataset_types import DataTypesEnum
label_desc: Use image node_id 8 for calling the CGRUImplementation obj's underlying member method code with example usage: obj._get_device() and returns: device