class_docstr: Geometric Distribution.
  
  The probability mass function of the distribution is expressed as
  
  .. math::
      Pr(x = k) = p(1-p)^{k-1},
      for k = 1, 2, 3, ...,
  
  Args:
      p(:class:`~chainer.Variable` or :ref:`ndarray`):
          Parameter of distribution.
class_docstr_tok: ["Geometric","Distribution",".","The","probability","mass","function","of","the","distribution","is","expressed","as","..","math",":",":","Pr","(","x","=","k",")","=","p","(","1-p",")","^","{","k-1","}",",","for","k","=","1",",","2",",","3",",","...",",","Args",":","p","(",":","class",":","`","~chainer.Variable","`","or",":","ref",":","`","ndarray","`",")",":","Parameter","of","distribution","."]
code: def params(self):
      return {"p": self.p}
  
file_path: chainer/chainer/distributions/geometric.py
imports: import chainer
  from chainer.backends import cuda
  from chainer import distribution
  from chainer.functions.math import exponential
  from chainer.utils import cache
label_desc: Use image node_id 8 for calling the Geometric obj's underlying member method code with example usage: obj.params() and returns: dict