Home | History | Annotate | Download | only in Tensor

Lines Matching defs:Tuple

109 // Tuple mimics std::pair but works on e.g. nvcc.
110 template <typename U, typename V> struct Tuple {
119 Tuple() : first(), second() {}
122 Tuple(const U& f, const V& s) : first(f), second(s) {}
125 Tuple& operator= (const Tuple& rhs) {
133 void swap(Tuple& rhs) {
142 bool operator==(const Tuple<U, V>& x, const Tuple<U, V>& y) {
148 bool operator!=(const Tuple<U, V>& x, const Tuple<U, V>& y) {