code: def test_multi_dispatch_decorate_non_dispatch(values):
      """Test decorating a custom function for PennyLane including a non-dispatchable parameter"""
  
      @fn.multi_dispatch(argnum=0, tensor_list=0)
      def custom_function(values, like, coefficient=10):
          """
          A dummy custom function that computes coeff :math:`c \\sum_i (v_i)^T v_i` where :math:`v_i` are vectors in ``values``
          and :math:`c` is a fixed ``coefficient``.
          values is a list of vectors
          like can force the interface (optional)
          """
          return coefficient * np.sum([fn.dot(v, v) for v in values])
  
      assert fn.allequal(custom_function(values), 700)
  
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 5 for calling a global function with example usage: test_multi_dispatch_decorate_non_dispatch(values) and returns: unknown