(pred, true_fn, false_fn, name)
| 1404 | |
| 1405 | |
| 1406 | def _cond(pred, true_fn, false_fn, name): |
| 1407 | if _is_old_cond(): |
| 1408 | return control_flow_ops.cond(pred, true_fn, false_fn, name=name) |
| 1409 | else: |
| 1410 | return cond_v2.cond_v2(pred, true_fn, false_fn, name=name) |
| 1411 | |
| 1412 | |
| 1413 | def _is_old_cond(): |
no test coverage detected