Create tf_passes.md
Page for describing the different passes. Generated from the ODS descriptions. Initial commit of structure.
PiperOrigin-RevId: 430201263
Change-Id: I15b13fd56d8ac970e099aead1a83cacb75227365
diff --git a/tensorflow/compiler/mlir/BUILD b/tensorflow/compiler/mlir/BUILD
index 358ac37..9b70f32 100644
--- a/tensorflow/compiler/mlir/BUILD
+++ b/tensorflow/compiler/mlir/BUILD
@@ -19,7 +19,7 @@
packages = ["//tensorflow/compiler/mlir/..."],
)
-exports_files(glob(["g3doc/*.md"]))
+exports_files(glob(["g3doc/*.md"] + ["g3doc/_includes/tf_passes.md"]))
# To reference all tablegen files here when checking for updates to them.
filegroup(
diff --git a/tensorflow/compiler/mlir/g3doc/_book.yaml b/tensorflow/compiler/mlir/g3doc/_book.yaml
index a75a213..7c7d273 100644
--- a/tensorflow/compiler/mlir/g3doc/_book.yaml
+++ b/tensorflow/compiler/mlir/g3doc/_book.yaml
@@ -22,5 +22,8 @@
path: /mlir/tf_ops
- title: TensorFlow Lite
path: /mlir/tfl_ops
+ - heading: Passes
+ - title: TF dialect
+ path: /mlir/tf_passes
- include: /_upper_tabs_right.yaml
diff --git a/tensorflow/compiler/mlir/g3doc/tf_passes.md b/tensorflow/compiler/mlir/g3doc/tf_passes.md
new file mode 100644
index 0000000..03a2812
--- /dev/null
+++ b/tensorflow/compiler/mlir/g3doc/tf_passes.md
@@ -0,0 +1,7 @@
+# TensorFlow passes
+
+[TOC]
+
+## TF dialect passes
+
+<<_includes/tf_passes.md>>