Home | History | Annotate | Download | only in sparse

Lines Matching defs:Group

29 class GroupIterable;  // Predeclare GroupIterable for Group.
32 // It provides the methods group(), indices(), and values(), which
34 class Group {
36 Group(GroupIterable* iter, int64 loc, int64 next_loc)
39 std::vector<int64> group() const;
54 // Returned when calling sparse_tensor.group({dim0, dim1, ...}).
60 // subset of dimensions provided to the group call.
66 // * group(): returns a vector with the current group dimension values.
68 // this group.
70 // this group.
116 Group operator*() const { return Group(iter_, loc_, next_loc_); }
126 friend class Group;
133 // Implementation of Group::values<T>()
135 typename TTypes<T>::UnalignedVec Group::values() const {