code: def test_cntk_105_basic_autoencoder_for_dimensionality_reduction_simple_trainerror(
      nb,
  ):
      if os.getenv("OS") == "Windows_NT" and sys.version_info[0] == 2:
          pytest.skip(
              "tests with Python 2.7 on Windows are not stable in the CI environment. "
          )
      testCell = [
          cell
          for cell in nb.cells
          if cell.cell_type == "code"
          and re.search("# Simple autoencoder test error", cell.source)
      ]
      assert np.isclose(
          float((testCell[0].outputs[0])["text"]),
          expectedError,
          atol=TOLERANCE_ABSOLUTE,
      )
  
imports: import os
  import sys
  import pytest
  import re
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: test_cntk_105_basic_autoencoder_for_dimensionality_reduction_simple_trainerror(nb) without return types