zheng-da commented on a change in pull request #11566: [MXNET-626] Add 
while_loop
URL: https://github.com/apache/incubator-mxnet/pull/11566#discussion_r201218975
 
 

 ##########
 File path: python/mxnet/symbol/contrib.py
 ##########
 @@ -336,3 +336,205 @@ def check_data(inputs, in_type, msg):
         states = states[0]
 
     return (outs, states)
+
+def while_loop(cond, func, loop_vars, max_iterations, name="while_loop"):
+    """Run a while loop with user-defined computation and loop condition.
 
 Review comment:
   yes, without dynamic shape, a user has to provide max_iterations

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to