[Mlir-commits] [mlir] [mlir][tosa] Change the shift of mul to be required (PR #125297)

Georgios Pinitas llvmlistbot at llvm.org
Mon Feb 3 11:53:47 PST 2025


================
@@ -139,6 +148,9 @@ class Tosa_TensorOfOrNone<list<Type> allowedTypes, string description = ""> :
 // Rank-0 (scalar) tensor
 def Tosa_ScalarTensor : TosaTensorRankOf<[Tosa_AnyNumber], [0]>;
 
+// Scalar tensors: Rank-1 (with only one element)
----------------
GeorgeARM wrote:

Scalar tensors have rank0. This contradicts the above definition. Maybe worth of a different name?

https://github.com/llvm/llvm-project/pull/125297


More information about the Mlir-commits mailing list