Skip to content

Commit ae1a0d6

Browse files
committed
remove
1 parent e7f21f7 commit ae1a0d6

File tree

1 file changed

+0
-3
lines changed
  • docs/articles/2023-06-20-introducing-onnx-script

1 file changed

+0
-3
lines changed

docs/articles/2023-06-20-introducing-onnx-script/index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,8 @@ We will cover the new PyTorch ONNX exporter in a separate post with more depth a
187187
By deeply weaving ONNX Script support into the PyTorch ONNX exporter, we have also made it possible to augment PyTorch model code with specialized ONNX functions as custom operators. We introduced initial support for this in the TorchScript exporter starting with [PyTorch 1.13][torch-onnx-customops] and continue to refine this capability in the new exporter.
188188

189189
## An End-to-End Example
190-
191190
Let’s look at an example slightly more complicated than GELU. In fact, the following example is adapted directly from the new PyTorch ONNX exporter, implementing support for [`torch.chunk`][torch-chunk], which attempts to split a tensor into the number of specified chunks.
192191

193-
.. TODO: change this example
194-
195192
```python
196193
from typing import Sequence
197194
from onnxscript import opset18 as op, script, FLOAT, INT64

0 commit comments

Comments
 (0)