1 # RUN: %PYTHON %s | FileCheck %s
4 from mlir
.passmanager
import *
6 from mlir
.dialects
import sparse_tensor
as st
10 print('\nTEST:', f
.__name
__)
15 # CHECK-LABEL: TEST: testSparseTensorPass
17 def testSparseTensorPass():
18 with
Context() as context
:
19 PassManager
.parse('sparsification')
20 PassManager
.parse('sparse-tensor-conversion')