code: def test_MSE():
      """Test for MSE"""
      y_true = tl.tensor([1, 0, 2, -2])
      y_pred = tl.tensor([1, -1, 1, -1])
      true_mse = 0.75
      assert_array_almost_equal(MSE(y_true, y_pred), true_mse)
  
imports: import numpy
  import tensorly
  from ..regression import MSE, RMSE, R2_score, correlation
  from ...testing import assert_array_almost_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_MSE() without return types