code: def test_multi_dispatch_decorate(x):
      """Test decorating a standard numpy function for PennyLane"""
  
      @fn.multi_dispatch(argnum=[0], tensor_list=[0])
      def tensordot(x, like, axes=None):
          return np.tensordot(x[0], x[1], axes=axes)
  
      assert fn.allequal(tensordot(x, axes=(0, 0)).numpy(), 2)
  
imports: import autoray
  import numpy
  import pytest
  import scipy
  from autoray import numpy
  from pennylane import math
  from pennylane import numpy
  from pennylane import grad
label_desc: Use image node_id 3 for calling a global function with example usage: test_multi_dispatch_decorate(x) and returns: np