code: def test_logsumexp_b_shape():
      a = np.zeros((4, 1, 2, 1))
      b = np.ones((3, 1, 5))
  
      logsumexp(a, b=b)
  
file_path: scipy/scipy/special/tests/test_logsumexp.py
imports: import numpy
  from numpy.testing import assert_almost_equal, assert_equal, assert_allclose, assert_array_almost_equal, assert_
  from scipy.special import logsumexp, softmax
label_desc: Use image node_id 9 for calling a global function with example usage: test_logsumexp_b_shape() without return types