[mlir][sparse] Removing unused helper function
Depends On D151505 Reviewed By: aartbik, Peiming Differential Revision: https://reviews.llvm.org/D151522
This commit is contained in:
@@ -31,17 +31,6 @@
|
||||
using namespace mlir;
|
||||
using namespace mlir::sparse_tensor;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Additional convenience methods.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
/// Gets the dimension-rank of the type of some `T`. (In particular
|
||||
/// this is only used for `Value` and `TypedValue<RankedTensorType>`.)
|
||||
template <typename T>
|
||||
static inline Dimension getDimRank(T t) {
|
||||
return getRankedTensorType(t).getRank();
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// StorageLayout
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user