class_docstr: Class for abstract distributions 
class_docstr_tok: ["Class","for","abstract","distributions"]
code: def __init__(self, pdf, logp, grad_logp):
      super(Model, self).__init__()
      self._pdf = pdf
      self._logp = logp
      self._grad_logp = grad_logp
      self.dim = None
  
file_path: dragonfly/dragonfly/distributions/model.py
imports: from __future__ import absolute_import
  import numpy
  from .distribution import Distribution
  from ..sampling.slice import Slice
  from ..sampling.nuts import NoUTurnSamplerDA, LeapFrog
  from ..sampling.metropolis import Metropolis, BinaryMetropolis
label_desc: Use image node_id 1 to create a new Model object from inherited base classes: Distribution with example: obj = Model(pdf, logp, grad_logp)