class_docstr: Beta Distribution 
class_docstr_tok: ["Beta","Distribution"]
docstr: Returns gradient of log pdf at x 
docstr_tok: ["Returns","gradient","of","log","pdf","at","x"]
code: def grad_logp(self, x):
      """Returns gradient of log pdf at x"""
      if x < 0 or x > 1:
          return 0
      return (self.alpha - 1) / x - (self.beta - 1) / (1 - x)
  
imports: from __future__ import absolute_import
  from __future__ import division
  import numpy
  from .distribution import Continuous
  from ..exd import domains
label_desc: Use image node_id 5 for calling the Beta obj's underlying member method code with example usage: obj.grad_logp(x) and returns: unknown, int