code: def test_wide_deep_smoke(
      notebooks, output_notebook, kernel_name, tmp
  ):
      notebook_path = notebooks["wide_deep"]
  
      params = {
          "MOVIELENS_DATA_SIZE": "100k",
          "STEPS": 1000,
          "EVALUATE_WHILE_TRAINING": False,
          "MODEL_DIR": tmp,
          "EXPORT_DIR_BASE": tmp,
          "RATING_METRICS": ["rmse", "mae"],
          "RANKING_METRICS": ["ndcg_at_k", "precision_at_k"],
          "RANDOM_SEED": 42,
      }
      execute_notebook(
          notebook_path,
          output_notebook,
          kernel_name=kernel_name,
          parameters=params,
      )
      results = read_notebook(output_notebook)
  
      assert results["rmse"] == pytest.approx(
          1.06034, rel=TOL, abs=ABS_TOL
      )
      assert results["mae"] == pytest.approx(
          0.876228, rel=TOL, abs=ABS_TOL
      )
      assert results["ndcg_at_k"] == pytest.approx(
          0.181513, rel=TOL, abs=ABS_TOL
      )
      assert results["precision_at_k"] == pytest.approx(
          0.158961, rel=TOL, abs=ABS_TOL
      )
  
file_path: recommenders/tests/smoke/examples/test_notebooks_gpu.py
imports: import pytest
  from recommenders.utils.gpu_utils import get_number_gpus
  from recommenders.utils.notebook_utils import execute_notebook, read_notebook
label_desc: Use image node_id 6 for calling a global function with example usage: test_wide_deep_smoke(notebooks, output_notebook, kernel_name, tmp) without return types