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

Function start_select_input

python/paddle/static/nn/control_flow.py:2071–2077  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2069 false_var, true_var = inputs
2070
2071 def start_select_input():
2072 try:
2073 return select_input(inputs, mask)
2074 except Exception as e:
2075 raise RuntimeError(
2076 f"Exceptions thrown while doing select_input on {name}:\n{e}"
2077 )
2078
2079 if isinstance(false_var, UndefinedVar) and isinstance(
2080 true_var, UndefinedVar

Callers

nothing calls this directly

Calls 2

select_inputFunction · 0.85
RuntimeErrorClass · 0.85

Tested by

no test coverage detected