MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / exit_section

Method exit_section

tensorflow/python/autograph/pyct/cfg.py:467–474  ·  view source on GitHub ↗

Exits a regular section.

(self, section_id)

Source from the content-addressed store, hash-verified

465 self.exits[section_id] = set()
466
467 def exit_section(self, section_id):
468 """Exits a regular section."""
469
470 # Exits are jump nodes, which may be protected.
471 for exit_ in self.exits[section_id]:
472 self.leaves |= self._connect_jump_to_finally_sections(exit_)
473
474 del self.exits[section_id]
475
476 def enter_loop_section(self, section_id, entry_node):
477 """Enters a loop section.

Callers 3

visit_FunctionDefMethod · 0.80
visit_WhileMethod · 0.80
visit_ForMethod · 0.80

Tested by

no test coverage detected