code: def mock_system_resourcses(num_cpus=None, num_gpus=None):
      original_get_cpu_count = ResourceManager.get_cpu_count
      original_get_gpu_count = ResourceManager.get_gpu_count
      if num_cpus is not None:
          ResourceManager.get_cpu_count = lambda: num_cpus
      if num_gpus is not None:
          ResourceManager.get_gpu_count = lambda: num_gpus
      yield
      ResourceManager.get_cpu_count = original_get_cpu_count
      ResourceManager.get_gpu_count = original_get_gpu_count
  
imports: import copy
  import os
  import shutil
  import uuid
  from contextlib import contextmanager
  from typing import List, Tuple
  import numpy
  import pandas
  import pytest
  from autogluon.common.utils.path_converter import PathConverter
  from autogluon.common.utils.resource_utils import ResourceManager
  from autogluon.core.constants import BINARY, MULTICLASS, REGRESSION
  from autogluon.core.data.label_cleaner import LabelCleaner
  from autogluon.core.models import AbstractModel, BaggedEnsembleModel
  from autogluon.core.stacked_overfitting.utils import check_stacked_overfitting_from_leaderboard
  from autogluon.core.utils import download, generate_train_test_split, infer_problem_type, unzip
  from autogluon.features.generators import AbstractFeatureGenerator, AutoMLPipelineFeatureGenerator
  from autogluon.tabular import TabularDataset, TabularPredictor
label_desc: Use image node_id 4 for calling a global function with example usage: mock_system_resourcses(num_cpus, num_gpus) without return types