docstr: This defines the number of dimensions over which to evaluate the
  quadrature. Generally, this is equal to self.latent_dim. This exists
  as a separate property to allow the ScalarLikelihood subclass to
  override it with 1 (broadcasting over observation/latent dimensions
  instead).
docstr_tok: ["This","defines","the","number","of","dimensions","over","which","to","evaluate","the","quadrature",".","Generally",",","this","is","equal","to","self.latent_dim",".","This","exists","as","a","separate","property","to","allow","the","ScalarLikelihood","subclass","to","override","it","with","1","(","broadcasting","over","observation\/latent","dimensions","instead",")","."]
code: def _quadrature_dim(self) -> int:
      """
      This defines the number of dimensions over which to evaluate the
      quadrature. Generally, this is equal to self.latent_dim. This exists
      as a separate property to allow the ScalarLikelihood subclass to
      override it with 1 (broadcasting over observation/latent dimensions
      instead).
      """
      assert self.latent_dim is not None
      return self.latent_dim
  
imports: import abc
  from typing import Any, Callable, Iterable, Optional, Sequence, Union
  import tensorflow
  from check_shapes import check_shapes, inherit_check_shapes
  from ..base import MeanAndVariance, Module, TensorType
  from ..quadrature import GaussianQuadrature, NDiagGHQuadrature, ndiag_mc
label_desc: Use image node_id 2 for calling the QuadratureLikelihood obj's underlying member method code with example usage: obj._quadrature_dim() and returns: self