code: def test_methods_predict_log_density(
      model: gpflow.models.GPModel,
  ) -> None:
      rng = Datum().rng
      Ys = rng.randn(10, 1)
      d = model.predict_log_density((default_datum.Xs, Ys))
      assert_array_equal(d.shape, (10,))
  
file_path: GPflow/tests/gpflow/models/test_methods.py
imports: from typing import List
  import numpy
  import pytest
  from numpy.testing import assert_array_equal, assert_array_less
  import gpflow
  from gpflow.base import AnyNDArray
label_desc: Use image node_id 3 for calling a global function with example usage: test_methods_predict_log_density(model) without return types