Skip to content

Commit 9a3866b

Browse files
model training bugfix (#7754)
Summary: Fails without return - no model returned from `_export_model()` Reviewed By: JacobSzwejbka Differential Revision: D68233527
1 parent 4bc2029 commit 9a3866b

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)