class_docstr: A Donsker-Varadhan `T` family based on a guide family via
  the relation `T = log p(theta) - log q(theta | y, d)`
class_docstr_tok: ["A","Donsker-Varadhan","`","T","`","family","based","on","a","guide","family","via","the","relation","`","T","=","log","p","(","theta",")","-","log","q","(","theta","|","y",",","d",")","`"]
code: def __init__(self, guide):
      super().__init__()
      self.guide = guide
  
imports: from contextlib import ExitStack
  import torch
  from torch import nn
  import pyro
  import pyro.distributions
  from pyro import poutine
  from pyro.contrib.util import iter_plates_to_shape, lexpand, rmv, rtril, rvv, tensor_to_dict
  from pyro.ops.linalg import rinverse
label_desc: Use image node_id 1 to create a new GuideDV object from inherited base classes: nn with example: obj = GuideDV(guide)