mirror of
https://github.com/intel/llvm.git
synced 2026-02-07 16:11:27 +08:00
[mlir][linalg][python] Add auto-generated file warning (NFC).
Annotate LinalgNamedStructuredOps.yaml with a comment stating the file is auto-generated and should not be edited manually. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D105809
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# Auto-generated file. Do not edit!
|
||||
--- !LinalgOpConfig
|
||||
metadata: !LinalgOpMetadata
|
||||
name: matmul
|
||||
|
||||
@@ -81,6 +81,7 @@ def main(args):
|
||||
|
||||
# Print.
|
||||
if args.format == "yaml":
|
||||
print("# Auto-generated file. Do not edit!")
|
||||
print(yaml_dump_all(configs))
|
||||
elif args.format == "repr":
|
||||
for config in configs:
|
||||
|
||||
Reference in New Issue
Block a user