You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/07/21 07:21:03 UTC

[GitHub] junrushao1994 edited a comment on issue #11760: [MXNET-684] Add `condition` operator

junrushao1994 edited a comment on issue #11760: [MXNET-684] Add `condition` operator
URL: https://github.com/apache/incubator-mxnet/pull/11760#issuecomment-406776932
 
 
   @zheng-da and I decided to do an API change, according to the valuable comments from @eric-haibin-lin.
   
   Here is the signature of our new API: `condition(cond: Symbol, then_func: Function, else_func: Function) -> List[Symbol]`, where `then_func` and `else_func` are functions with no arguments. 
   
   Although there is no actual difference between the old and new APIs in the backend, we believe that this change will make customers easier to use our API.
   
   Thanks again for @eric-haibin-lin and @zheng-da for the valuable discussion!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services