update if else

revert-3824-remove_grad_op_type
Zhuoyuan 8 years ago committed by GitHub
parent d156dfa93b
commit e39a2c9f22

@ -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?
```

Loading…
Cancel
Save