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/06/15 20:21:06 UTC

[GitHub] zheng-da commented on issue #10451: [MXNET-432] Add Foreach

zheng-da commented on issue #10451: [MXNET-432] Add Foreach
URL: https://github.com/apache/incubator-mxnet/pull/10451#issuecomment-397731704
 
 
   @tqchen Originally, I consider this as a control flow operator, so I use foreach because a lot of languages use `foreach` as a keyword for this. But DL frameworks consider this operator as a high-order function and call it `scan`. It makes sense to follow the convention of the DL frameworks, although the definition of this operator is a little different from the one in TensorFlow (`foreach` here splits outputs of an iteration into outputs of the loop and loop variables).

----------------------------------------------------------------
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