Skip to content

Commit 27e880c

Browse files
committed
Update on "make to_edge support etrecord generation"
This support to_edge export flow etrecord generation supportive. Details can be found in #12925 Differential Revision: [D79707919](https://our.internmc.facebook.com/intern/diff/D79707919/) [ghstack-poisoned]
2 parents c6fcfb9 + ab04f21 commit 27e880c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exir/program/_program.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,7 +1376,7 @@ def to_edge(
13761376
programs: Union[ExportedProgram, Dict[str, ExportedProgram]],
13771377
constant_methods: Optional[Dict[str, Any]] = None,
13781378
compile_config: Optional[EdgeCompileConfig] = None,
1379-
generate_etrecord: Optional[bool] = False,
1379+
generate_etrecord: bool = False,
13801380
) -> "EdgeProgramManager":
13811381
"""
13821382
:func:`to_edge` constructs an EdgeProgramManager from a set of exported programs in
@@ -1389,7 +1389,7 @@ def to_edge(
13891389
13901390
compile_config: An optional argument used to provide greater control over the transformation to edge dialect process.
13911391
1392-
generate_etrecord: An optional argument used to generate an etrecord for debugging purposes.
1392+
generate_etrecord: An optional argument used to generate an etrecord for debugging purposes. Default is False.
13931393
13941394
Returns:
13951395
EdgeProgramManager

0 commit comments

Comments
 (0)