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

Method block

python/paddle/static/nn/control_flow.py:593–594  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

591 self.is_test = is_test
592
593 def block(self):
594 return WhileGuard(self)
595
596 def _complete(self):
597 main_program = self.helper.main_program

Callers 15

while_loopFunction · 0.95
_rnn_static_graphFunction · 0.95
simple_netMethod · 0.95
simple_netMethod · 0.95
build_and_run_programFunction · 0.95
run_mainMethod · 0.95
normalize_programFunction · 0.45
convertFunction · 0.45

Calls 1

WhileGuardClass · 0.85

Tested by 5

simple_netMethod · 0.76
simple_netMethod · 0.76
build_and_run_programFunction · 0.76
run_mainMethod · 0.76