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

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

changed mlir::OpTraits to mlir::OpTrait
This commit is contained in:
Vishakh Prakash 2025-01-06 07:14:05 +05:30 committed by GitHub
parent bcc1e58448
commit 9d0fa42fbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.