MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / __exit__

Method __exit__

python/paddle/static/nn/control_flow.py:427–429  ·  view source on GitHub ↗
(self, exc_type, exc_val, exc_tb)

Source from the content-addressed store, hash-verified

425 return super().__enter__()
426
427 def __exit__(self, exc_type, exc_val, exc_tb):
428 self.block.complete()
429 return super().__exit__(exc_type, exc_val, exc_tb)
430
431
432def get_inputs_outputs_in_block(

Callers

nothing calls this directly

Calls 2

completeMethod · 0.45
__exit__Method · 0.45

Tested by

no test coverage detected