Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions include/matx/core/sparse_tensor_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,6 @@ template <int D, typename... LvlSpecs> class SparseTensorFormat {

static_assert(DIM <= LVL);

static constexpr bool isScalar() { return LVL == 0; }

static constexpr bool isDnVec() {
if constexpr (LVL == 1) {
using first_type = std::tuple_element_t<0, LVLSPECS>;
return first_type::lvltype == LvlType::Dense &&
first_type::expr::op == LvlOp::Id && first_type::expr::di == 0;
}
return false;
}

static constexpr bool isSpVec() {
if constexpr (LVL == 1) {
using first_type = std::tuple_element_t<0, LVLSPECS>;
Expand Down