证金公司增持多家公司 持股比直逼举牌线

paddle. digamma ( x: Tensor, name: str | None = None ) Tensor [source]
百度 自动化方面,新车首次应用BMWPersonalCoPilot,集成了主动车道保持系统、自适应巡航系统、预防碰撞辅助系统、全自动泊车系统和主动碰撞躲避系统等一系列BMW驾驶辅助系统的最新成果。

Calculates the digamma of the given input tensor, element-wise.

\[Out = \Psi(x) = \frac{ \Gamma^{'}(x) }{ \Gamma(x) }\]
Parameters
  • x (Tensor) – Input Tensor. Must be one of the following types: bfloat16, float16, float32, float64, uint8, int8, int16, int32, int64.

  • name (str|None, optional) – Name for the operation (optional, default is None). For more information, please refer to Name.

Returns

Tensor, the digamma of the input Tensor, the shape and data type is the same with input

(integer types are autocasted into float32).

Examples

>>> import paddle

>>> data = paddle.to_tensor([[1, 1.5], [0, -2.2]], dtype='float32')
>>> res = paddle.digamma(data)
>>> res
Tensor(shape=[2, 2], dtype=float32, place=Place(cpu), stop_gradient=True,
[[-0.57721591,  0.03648996],
 [ nan       ,  5.32286835]])