code: def test_dims_without_coords(self):
      # Issues #6820
      with Model() as m:
          x = Normal("x")
          y = Normal("y", x, observed=[0, 0, 0], shape=(3,), dims="obs")
  
          trace = from_dict({"x": [[0, 1]]})
          llike = compute_log_likelihood(trace)
  
      assert len(llike.log_likelihood["obs"]) == 3
      np.testing.assert_allclose(
          llike.log_likelihood["y"].values,
          st.norm.logpdf([[[0, 0, 0], [1, 1, 1]]]),
      )
  
file_path: pymc/tests/stats/test_log_likelihood.py
imports: import numpy
  import pytest
  import scipy.stats
  from arviz import InferenceData, dict_to_dataset, from_dict
  from pymc.distributions import Dirichlet, Normal
  from pymc.distributions.transforms import log
  from pymc.model import Model
  from pymc.stats.log_likelihood import compute_log_likelihood
  from tests.distributions.test_multivariate import dirichlet_logpdf
label_desc: Use image node_id 5 for calling the TestComputeLogLikelihood obj's underlying member method code with example usage: obj.test_dims_without_coords() without return types