code: def log_prob_accept(self, x):
      result = (self.factor - 1) * self.rate * x
      assert result.max() <= 0, result.max()
      return result
  
file_path: pyro/pyro/distributions/testing/rejection_exponential.py
imports: import torch
  from torch.distributions.utils import broadcast_all
  import pyro.distributions.constraints
  from pyro.distributions.rejector import Rejector
  from pyro.distributions.torch import Exponential
  from pyro.distributions.util import copy_docs_from, weakmethod
label_desc: Use image node_id 2 for calling the RejectionExponential obj's underlying member method code with example usage: obj.log_prob_accept(x) and returns: result