Skip to content

Commit 9cd9344

Browse files
model training bugfix
Summary: Fails without return - no model returned from `_export_model()` Differential Revision: D68233527
1 parent 948fba6 commit 9cd9344

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension/training/examples/XOR/export_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def _export_model():
3131
ep = to_edge(ep)
3232
# Lower the graph to executorch.
3333
ep = ep.to_executorch()
34+
return ep
3435

3536

3637
def main() -> None:

0 commit comments

Comments
 (0)