Skip to content

Commit

Permalink
nit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhambhokare1 committed May 2, 2024
1 parent 0f529f3 commit 1195701
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"sphinx.ext.ifconfig",
"sphinx.ext.viewcode",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.autosummary",
"sphinx.ext.githubpages",
"sphinx_gallery.gen_gallery",
"sphinx.ext.autodoc",
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ result = MatmulAdd(x, wt, bias)
tutorial/index
api/index
intermediate_representation/index
auto_examples/index
optimizer/index
rewriter/index
auto_examples/index
articles/index
```

Expand Down
3 changes: 2 additions & 1 deletion docs/optimizer/optimize.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

## Introduction

The ONNXScript `Optimizer` tool provides the user with the functionality to optimize an ONNX model by performing optimizations and clean-ups such as constant folding, dead code elimination, etc.
The ONNX Script `Optimizer` tool provides the user with the functionality to optimize an ONNX model by performing optimizations and clean-ups such as constant folding, dead code elimination, etc.

## Usage

In order to utilize the optimizer tool,

```python
import onnxscript

onnxscript.optimizer.optimize(model)
```

Expand Down

0 comments on commit 1195701

Please sign in to comment.