Digamma
English | 简体中文
Product Support Status
| Product | Supported |
|---|---|
| Ascend 950PR&950DT products | × |
| Atlas A3 products | √ |
| Atlas A2 products | √ |
| Atlas 200I/500 A2 inference products | × |
| Atlas inference products | √ |
| Atlas training products | √ |
Function Description
-
Operator function: performs the digamma mathematical operation on each element of the input tensor
-
Computation formula:
yi=ddxiloge(Γ(∣xi∣))y_i= \frac{{\rm d}} {{\rm d}x_i}log_e(\Gamma(|x_i|))
Parameter Description
| Parameter Name | Input/Output/Attribute | Description | Data Type | Data Format |
|---|---|---|---|---|
| x | Input | The input tensor xi in the formula. | FLOAT, FLOAT16, DOUBLE | ND |
| y | Output | The output tensor yi in the formula. | FLOAT, FLOAT16, DOUBLE | ND |
Constraint Description
None
Invocation Description
| Invocation Method | Invocation Sample | Description |
|---|---|---|
| aclnn invocation | test_aclnn_digamma | Invokes the digamma operator through the aclnnDigamma API. |