code: def test_highdim_array_metrics(self):
      y_true = [
          [[3, -0.5], [2, 7]],
          [[3, -0.5], [2, 7]],
          [[3, -0.5], [2, 7]],
      ]
      y_pred = [
          [[2.5, -0.3], [2, 8]],
          [[2.5, -0.3], [2, 8]],
          [[2.5, -0.3], [2, 8]],
      ]
  
      assert_almost_equal(
          sMAPE(y_true, y_pred, multioutput="raw_values"),
          [[9.09, 25], [0, 6.67]],
          decimal=2,
      )
      assert_almost_equal(
          MAPE(y_true, y_pred, multioutput="raw_values"),
          [[16.67, 40.00], [0, 14.29]],
          decimal=2,
      )
      assert_almost_equal(
          RMSE(y_true, y_pred, multioutput="raw_values"),
          [[0.5, 0.2], [0, 1]],
          decimal=2,
      )
      assert_almost_equal(
          MSE(y_true, y_pred, multioutput="raw_values"),
          [[0.25, 0.04], [0, 1]],
          decimal=2,
      )
  
file_path: analytics-zoo/pyzoo/test/zoo/orca/automl/test_metrics.py
imports: import numpy
  from test.zoo.pipeline.utils.test_utils import ZooTestCase
  from zoo.orca.automl.metrics import ME, MAE, MSE, RMSE, MSLE, R2
  from zoo.orca.automl.metrics import MPE, MAPE, MSPE, sMAPE, MDAPE, sMDAPE
  from numpy.testing import assert_almost_equal
  from numpy.testing import assert_array_almost_equal
label_desc: Use image node_id 6 for calling the TestMetrics obj's underlying member method code with example usage: obj.test_highdim_array_metrics() without return types