Skip to content

Commit 88a06ef

Browse files
authored
Fix error in export example script (#8783)
1 parent 1d0e0ee commit 88a06ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/using-executorch-export.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Model(torch.nn.Module):
5858
torch.nn.ReLU(),
5959
torch.nn.Conv2d(8, 16, 3),
6060
torch.nn.ReLU(),
61-
torch.nn.AdaptiveAvgPool2d([[1,1]])
61+
torch.nn.AdaptiveAvgPool2d((1,1))
6262
)
6363
self.linear = torch.nn.Linear(16, 10)
6464

@@ -175,4 +175,4 @@ For advanced use cases, see the following:
175175
- [Quantization Overview](quantization-overview.md) for information on quantizing models to reduce inference time and memory footprint.
176176
- [Memory Planning](compiler-memory-planning.md) for information on controlling memory placement and planning.
177177
- [Custom Compiler Passes](compiler-custom-compiler-passes.md) for information on writing custom compiler passes.
178-
- [Export IR Specification](ir-exir.md) for information on the intermediate representation generated by export.
178+
- [Export IR Specification](ir-exir.md) for information on the intermediate representation generated by export.

0 commit comments

Comments
 (0)