code: def test_comparison_invalid_broadcast():
      x_rv = pt.random.normal(0.5, 1, size=(3,))
  
      const = np.array([[0.1], [0.2], [-0.1]])
      y_rv_invalid = pt.gt(x_rv, const)
  
      y_vv_invalid = y_rv_invalid.clone()
  
      with pytest.raises(
          NotImplementedError,
          match="Logprob method not implemented for",
      ):
          logp(y_rv_invalid, y_vv_invalid)
  
file_path: pymc/tests/logprob/test_binary.py
imports: import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  import scipy.stats
  from pytensor import function
  from pymc import logp
  from pymc.logprob import conditional_logp
  from pymc.testing import assert_no_rvs
label_desc: Use image node_id 4 for calling a global function with example usage: test_comparison_invalid_broadcast() without return types