code: def test_predict_with_uncertainty(self):
      self.model.fit_eval(
          data=(self.x_train, self.y_train),
          validation_data=(self.x_val, self.y_val),
          mc=True,
          **self.config,
      )
      pred, uncertainty = self.model.predict_with_uncertainty(
          self.x_test, n_iter=2
      )
      assert pred.shape == (self.x_test.shape[0], self.y_val.shape[-1])
      assert uncertainty.shape == pred.shape
  
file_path: BigDL/python/chronos/test/bigdl/chronos/model/tf2/test_mtnet_keras.py
imports: from pathlib import Path
  import shutil
  import pytest
  from unittest import TestCase
  from bigdl.chronos.data import TSDataset
  import pandas
  import numpy
  from numpy.testing import assert_array_almost_equal
  from ...None import op_tf2
  from bigdl.chronos.utils import LazyImport
label_desc: Use image node_id 5 for calling the TestMTNetKeras obj's underlying member method code with example usage: obj.test_predict_with_uncertainty() without return types