code: def test_RMSE():
      """Test for RMSE"""
      y_true = tl.tensor([1, 0, 2, -2])
      y_pred = tl.tensor([0, -1, 1, -1])
      true_mse = 1
      assert_array_almost_equal(RMSE(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 2 for calling a global function with example usage: test_RMSE() without return types