Matthias Springer
77f8297c6f
[mlir][sparse] Improve sparse tensor type constraints ( #112133 )
...
Sparse tensors are always ranked tensors. Encodings cannot be attached
to unranked tensors. Change the type constraint to `RankedTensorOf`, so
that we generate `TypedValue<RankedTensorType>` instead of
`TypedValue<TensorType>`. This removes the need for type casting in some
cases.
Also improve the verifiers (missing `return` statements) and switch a
few other `AnyTensor` to `AnyRankedTensor`.
This commit is in preparation of a dialect conversion commit that
required fixes in the sparse dialect.
2024-10-13 21:12:38 +02:00
..
2024-03-06 09:57:41 -08:00
2024-05-07 09:20:56 -07:00
2024-06-14 10:31:29 -07:00
2024-10-11 15:56:39 +08:00
2024-03-12 16:59:17 -07:00
2024-05-30 08:21:08 +02:00
2024-02-17 12:17:57 -08:00
2024-04-11 10:07:24 -07:00
2024-03-06 09:57:41 -08:00
2024-04-24 13:51:41 -07:00
2024-05-14 13:26:49 -07:00
2024-06-17 16:50:12 -07:00
2024-05-07 20:28:39 -04:00
2024-10-13 21:12:38 +02:00
2024-08-30 17:47:37 -04:00
2024-06-11 14:20:58 -07:00
2024-10-11 15:56:39 +08:00
2024-04-03 09:57:25 +09:00
2024-03-06 09:57:41 -08:00
2024-05-10 11:36:01 -07:00
2024-07-31 15:14:27 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-03-12 16:59:17 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-03-12 16:59:17 -07:00
2024-06-17 16:50:12 -07:00
2024-06-20 14:23:36 -07:00
2024-06-10 10:20:24 -07:00
2024-08-23 10:47:44 -07:00
2024-06-17 16:50:12 -07:00
2024-05-28 20:04:27 +01:00
2024-06-17 16:50:12 -07:00
2024-05-28 20:04:27 +01:00
2024-06-17 16:50:12 -07:00
2024-05-02 12:28:34 -04:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-03-06 09:57:41 -08:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-03-12 16:59:17 -07:00
2024-05-13 14:02:29 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-06-12 10:49:12 -07:00
2024-06-17 16:50:12 -07:00
2024-03-12 16:59:17 -07:00
2024-06-17 16:50:12 -07:00
2024-06-17 16:50:12 -07:00
2024-02-05 16:12:47 -08:00
2024-05-30 08:21:08 +02:00
2024-06-17 16:50:12 -07:00
2024-02-15 11:39:32 -08:00
2024-06-17 16:50:12 -07:00