// RUN: mlir-opt %s | mlir-opt | FileCheck %s // RUN: mlir-opt %s --mlir-print-op-generic | mlir-opt | FileCheck %s // ----- // Uses argmax as canonical example to validate constrained TOSA tensor shapes. // CHECK-LABEL: argmax func @test_argmax(%arg0: tensor) -> tensor { %0 = "tosa.argmax"(%arg0) {axis = 1 : i64} : (tensor) -> tensor return %0 : tensor }