code: def test_multi_mode_dot_tensorly_1(X, U, true_res):
      X, U, true_res = ivy.array(X), ivy.array(U), ivy.array(true_res)
      res = ivy.multi_mode_dot(X, U, [0, 1])
      assert np.allclose(true_res, res)
  
imports: import math
  from hypothesis import strategies
  from hypothesis import assume
  import numpy
  import pytest
  import itertools
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
  import ivy
label_desc: Use image node_id 45 for calling a global function with example usage: test_multi_mode_dot_tensorly_1(X, U, true_res) without return types