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