class_docstr: A simple default backend that stores the chain in memory
class_docstr_tok: ["A","simple","default","backend","that","stores","the","chain","in","memory"]
code: def _check(self, state, accepted):
      self._check_blobs(state.blobs)
      nwalkers, ndim = self.shape
      has_blobs = self.has_blobs()
      if state.coords.shape != (nwalkers, ndim):
          raise ValueError(
              "invalid coordinate dimensions; expected {0}".format(
                  (nwalkers, ndim)
              )
          )
      if state.log_prob.shape != (nwalkers,):
          raise ValueError(
              "invalid log probability size; expected {0}".format(
                  nwalkers
              )
          )
      if state.blobs is not None and not has_blobs:
          raise ValueError("unexpected blobs")
      if state.blobs is None and has_blobs:
          raise ValueError("expected blobs, but none were given")
      if state.blobs is not None and len(state.blobs) != nwalkers:
          raise ValueError(
              "invalid blobs size; expected {0}".format(nwalkers)
          )
      if accepted.shape != (nwalkers,):
          raise ValueError(
              "invalid acceptance size; expected {0}".format(nwalkers)
          )
  
imports: import numpy
  from ..None import autocorr
  from ..state import State
label_desc: Use image node_id 13 for calling the Backend obj's underlying member method code with example usage: obj._check(state, accepted) without return types