def METHOD_NAME(self, name: str) -> torch.Tensor:
    """
    For use in :meth:`get_posterior` .
    :returns: The value of an upstream sample or deterministic site
    :rtype: torch.Tensor
    """
    return self.trace.nodes[name]["value"]