code: def test_method_vectorization():
      o = m.VectorizeTestClass(3)
      x = np.array([1, 2], dtype="int")
      y = np.array([[10], [20]], dtype="float32")
      assert np.all(o.method(x, y) == [[14, 15], [24, 25]])
  
file_path: coremltools/deps/pybind11/tests/test_numpy_vectorize.py
imports: import pytest
  from pybind11_tests import numpy_vectorize
label_desc: Use image node_id 6 for calling a global function with example usage: test_method_vectorization() without return types