[Mlir-commits] [mlir] Update Ch-2.md (PR #121379)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 30 22:44:24 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-mlir

Author: Vishakh Prakash (Vishakh2012)

<details>
<summary>Changes</summary>

line 265 in the file llvm-project/mlir/docs/Tutorials/Toy/Ch-2.md 

changed mlir::OpTraits to mlir::OpTrait

---
Full diff: https://github.com/llvm/llvm-project/pull/121379.diff


1 Files Affected:

- (modified) mlir/docs/Tutorials/Toy/Ch-2.md (+1-1) 


``````````diff
diff --git a/mlir/docs/Tutorials/Toy/Ch-2.md b/mlir/docs/Tutorials/Toy/Ch-2.md
index b807ee3a20492d..039417c9c9a19d 100644
--- a/mlir/docs/Tutorials/Toy/Ch-2.md
+++ b/mlir/docs/Tutorials/Toy/Ch-2.md
@@ -262,7 +262,7 @@ class ConstantOp : public mlir::Op<
                      mlir::OpTrait::OneResult,
                      /// We also provide a utility `getType` accessor that
                      /// returns the TensorType of the single result.
-                     mlir::OpTraits::OneTypedResult<TensorType>::Impl> {
+                     mlir::OpTrait::OneTypedResult<TensorType>::Impl> {
 
  public:
   /// Inherit the constructors from the base Op class.

``````````

</details>


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


More information about the Mlir-commits mailing list