| 1162 | |
| 1163 | template <typename SType> |
| 1164 | Tensor Div(const SType alpha, const Tensor &in) { |
| 1165 | Tensor out(in.shape(), in.device(), in.data_type()); |
| 1166 | Div(alpha, in, &out); |
| 1167 | return out; |
| 1168 | } |
| 1169 | template Tensor Div<float>(const float, const Tensor &); |
| 1170 | |
| 1171 | template <typename SType> |