Unified · Split
| @@ -50,6 +50,8 @@ static float get_expected(float f, DNNMathUnaryOperation op) · 49 unmodified lines | ||
| 50 | 50 | return cosh(f); |
| 51 | 51 | case DMUO_TANH: |
| 52 | 52 | return tanh(f); |
| 53 | + case DMUO_ASINH: | |
| 54 | + return asinh(f); | |
| 53 | 55 | default: |
| 54 | 56 | av_assert0(!"not supported yet"); |
| 55 | 57 | return 0.f; |
| @@ -113,5 +115,7 @@ int main(int agrc, char **argv) · 57 unmodified lines | ||
| 113 | 115 | return 1; |
| 114 | 116 | if (test(DMUO_TANH)) |
| 115 | 117 | return 1; |
| 118 | + if (test(DMUO_ASINH)) | |
| 119 | + return 1; | |
| 116 | 120 | return 0; |
| 117 | 121 | } |