// RUN: npcomp-run-mlir -input %s \ // RUN: -invoke constant_add_scalar \ // RUN: -arg-value="dense<3.0> : tensor" \ // RUN: -shared-libs=%npcomp_runtime_shlib 2>&1 \ // RUN: | FileCheck %s // CHECK: output #0: dense<4.000000e+00> : tensor func @constant_add_scalar(%arg0: tensor) -> tensor { %0 = constant dense<1.0> : tensor %1 = "tcf.add"(%arg0, %0) : (tensor, tensor) -> tensor return %1 : tensor }