21 #include <tensor/tensor.h>
25 TYPE2 OPERATOR1(
const TYPE1 &t) {
26 TYPE2 output(t.dimensions());
27 TYPE1::const_iterator src = t.begin();
28 TYPE2::iterator dest = output.begin();
29 for (; src != t.end(); src++, dest++) {
30 *dest = OPERATOR2(*src);