Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_loop
Function · 0.95
_dynamic_decode_declarative
Function · 0.95
_dynamic_decode_pir_declarative
Function · 0.95
_rnn_static_graph
Function · 0.95
test_without_kernel_op
Method · 0.95
simple_net
Method · 0.95
simple_net
Method · 0.95
build_and_run_program
Function · 0.95
run_main
Method · 0.95
normalize_program
Function · 0.45
move_persistable_var_to_global_block
Function · 0.45
convert
Function · 0.45
Calls
1
WhileGuard
Class · 0.85
Tested by
5
test_without_kernel_op
Method · 0.76
simple_net
Method · 0.76
simple_net
Method · 0.76
build_and_run_program
Function · 0.76
run_main
Method · 0.76