code: def _matrix_vector_product_of_stacks(A, b):
      """Compute the product of stack of matrices and vectors."""
      return np.einsum("ijk,ik->ij", A, b)
  
file_path: scipy/scipy/spatial/transform/_rotation_spline.py
imports: import numpy
  from scipy.linalg import solve_banded
  from ._rotation import Rotation
label_desc: Use image node_id 2 for calling a global function with example usage: _matrix_vector_product_of_stacks(A, b) and returns: np