| 45 | |
| 46 | template<typename Ti, typename To = Ti> |
| 47 | static inline void gemm(af_array *out, af_mat_prop optLhs, af_mat_prop optRhs, |
| 48 | const To *alpha, const af_array lhs, const af_array rhs, |
| 49 | const To *betas) { |
| 50 | gemm<Ti, To>(getArray<To>(*out), optLhs, optRhs, alpha, getArray<Ti>(lhs), |
| 51 | getArray<Ti>(rhs), betas); |
| 52 | } |
| 53 | |
| 54 | template<typename T> |
| 55 | static inline af_array dot(const af_array lhs, const af_array rhs, |