code: def latent(self, *args, **kwargs):
      self._latent = _latent(dist.Beta, parent=self)(*args, **kwargs)
      return self._latent
  
imports: from collections import defaultdict
  import torch
  import pyro.distributions
  from pyro import poutine
  from pyro.distributions.util import sum_leftmost
  from pyro.poutine.messenger import Messenger
  from pyro.poutine.util import site_is_subsample
label_desc: Use image node_id 2 for calling the BetaBinomialPair obj's underlying member method code with example usage: obj.latent() and returns: self