From e39a2c9f22610385b1ed680c6e015e10e9bef241 Mon Sep 17 00:00:00 2001 From: Zhuoyuan Date: Sat, 2 Sep 2017 17:43:30 -0700 Subject: [PATCH] update if else --- doc/design/if_else_op.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/design/if_else_op.md b/doc/design/if_else_op.md index 79bb543de1c..cd66bfabf2b 100644 --- a/doc/design/if_else_op.md +++ b/doc/design/if_else_op.md @@ -47,8 +47,9 @@ o1, o2 = if(cond) Some questions: 1. how to know which inputs will be selected by condition? - e.g. True_block(): + ```python + True_block(): y = pd.fc(x) # we will have x, w, b all as inputs # but only x will be selected by cond, how can the block know? - +``` -- GitLab