| 85 | } |
| 86 | template <typename Output, typename Device> |
| 87 | void eval(typename TTypes<T>::ConstFlat input, Output& output, |
| 88 | const Device& d) const { |
| 89 | for (int i = 0; i < input.size(); ++i) { |
| 90 | output.template chip<0>(dst_[i]).device(d) = input.template chip<0>(i); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | private: |
| 95 | Eigen::DSizes<Eigen::DenseIndex, 8> dst_; |