MarisaKirisame edited a comment on issue #4432: [Relay][Pass] Fix lambda lift 
pass for recursive call
URL: https://github.com/apache/incubator-tvm/pull/4432#issuecomment-558887159
 
 
   Does this work for non-immediate recursion?
   in particular, can you add this test case:
   -- implement a * b using increment, in tail-recursive accumulator style
   let rec multACC a b acc =
     if b == 0
     then acc
     else 
     let rec addACC a oldB b acc = 
       if b == 0
       then multACC a (oldB - 1) acc
       else addACC a oldB (b - 1) (acc + 1)
     in addACC a b b acc
   let mult a b = multACC a b 0
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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