Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def _parse_program(self,
name = e.name
ge_out_operator.append(self.var2geop[name])

# (Debug) If you want to print back prop vars, append/assign the varname in ge_out_operator here, such as:
# (Debug) If you want to print back prop vars, append/assign the varname in ge_out_operator here, such as:
# if graph_name == "main":
# ge_out_operator.append(self.var2geop["reduce_sum_0.tmp_0@GRAD"])

Expand Down Expand Up @@ -233,6 +233,7 @@ def minimize(self,
self.parser = AscendIRParser()

input_varlist = self._get_input_varlist(main_block.program)

startup_graph, main_graph = self.parser.parse_program(
startup_program, main_block.program, input_varlist, self.fetch_list)

Expand Down
Loading