Skip to content

Commit e8df9ca

Browse files
committed
Update on "make et.export support etrecord generation"
this diff makes et.export etrecord generation supportive. Details can be found in #12925. After this change, all things in #12925 has completed. Differential Revision: [D79741917](https://our.internmc.facebook.com/intern/diff/D79741917/) [ghstack-poisoned]
2 parents f8e4d65 + f15502c commit e8df9ca

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)