parameters: (self, name="entropy")
docstring: The entropy of Laplace distribution(s).
  
      Args:
        name: The name to give this op.
  
      Returns:
        entropy: tensor of dtype `dtype`, the entropy.
docstring_summary: The entropy of Laplace distribution(s).
docstring_tokens: The entropy of Laplace distribution ( s ) .
function: def entropy(self, name="entropy"):
      """The entropy of Laplace distribution(s).
  
      Args:
        name: The name to give this op.
  
      Returns:
        entropy: tensor of dtype `dtype`, the entropy.
      """
      with ops.name_scope(self.name):
        with ops.op_scope([self._loc, self._scale], name):
          log_2_e = constant_op.constant(math.log(2.) + 1., dtype=self.dtype)
          # Use broadcasting rules to calculate the full broadcast scale.
          scale = self._scale + array_ops.zeros_like(self._loc)
          return log_2_e + math_ops.log(scale)
function_tokens: def entropy ( self , name = "entropy" ) : with ops . name_scope ( self . name ) : with ops . op_scope ( [ self . _loc , self . _scale ] , name ) : log_2_e = constant_op . constant ( math . log ( 2. ) + 1. , dtype = self . dtype ) # Use broadcasting rules to calculate the full broadcast scale. scale = self . _scale + array_ops . zeros_like ( self . _loc ) return log_2_e + math_ops . log ( scale )