[Mlir-commits] [mlir] [mlir][linalg][NFC] Fix documentation. (PR #112009)

Javed Absar llvmlistbot at llvm.org
Fri Oct 11 08:20:40 PDT 2024


https://github.com/javedabsar1 created https://github.com/llvm/llvm-project/pull/112009

None

>From 6731371070a556297eabe63ee87c0f4f42f13ba1 Mon Sep 17 00:00:00 2001
From: Javed Absar <javed.absar at gmail.com>
Date: Fri, 11 Oct 2024 11:17:36 -0400
Subject: [PATCH] [mlir][linalg][NFC] Fix documentation.

---
 mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
index 31f29139247267..97160fec1a0f9f 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
@@ -480,7 +480,7 @@ def BroadcastOp : LinalgStructuredBase_Op<"broadcast", [
     ```
       %bcast = linalg.broadcast
           ins(%input:tensor<16xf32>)
-          inits(%init:tensor<16x64xf32>)
+          outs(%init:tensor<16x64xf32>)
           dimensions = [1]
     ```
   }];



More information about the Mlir-commits mailing list