llvm-project
83f3b1cb - [mlir][sparse] Add verification for explicit/implicit value (#90111)

Commit
1 year ago
[mlir][sparse] Add verification for explicit/implicit value (#90111) 1. Verify that the type of explicit/implicit values should be the same as the tensor element type. 2. Verify that implicit value could only be zero. 3. Verify that explicit/implicit values should be numeric. 4. Fix the type change issue caused by SparseTensorType(enc).
Parents
Loading