Positive difference. \param x first operand \param y second operand \return \a x - \a y or 0 if difference negative template typename enable ::type fdim(T x, U y) { return functions::fdim(x, y); }
| 1820 | // template<typename T,typename U> typename enable<expr,T,U>::type |
| 1821 | // fdim(T x, U y) { return functions::fdim(x, y); } |
| 1822 | MEGDNN_HOST MEGDNN_DEVICE inline expr fdim(bfloat16 x, bfloat16 y) { |
| 1823 | return functions::fdim(x, y); |
| 1824 | } |
| 1825 | MEGDNN_HOST MEGDNN_DEVICE inline expr fdim(bfloat16 x, expr y) { |
| 1826 | return functions::fdim(x, y); |
| 1827 | } |