Files
SHARK-Studio/cpp/vulkan_gui/simple_mul.mlir
2022-09-12 07:07:33 -07:00

5 lines
199 B
MLIR

func.func @simple_mul(%arg0: tensor<4xf32>, %arg1: tensor<4xf32>) -> tensor<4xf32> {
%0 = "arith.mulf"(%arg0, %arg1) : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
return %0 : tensor<4xf32>
}