zhiics commented on a change in pull request #4873: [Relay][FastMath] Relay pass to use fast exp/tanh URL: https://github.com/apache/incubator-tvm/pull/4873#discussion_r384807129
########## File path: python/tvm/relay/transform.py ########## @@ -179,6 +180,17 @@ def SimplifyInference(): return _transform.SimplifyInference() +def FastMath(): + """ Converts the expensive non linear functions to their fast but approximate counterparts. + + Returns + ------- + ret: tvm.relay.Pass + The registered to perform operator simplification. Review comment: Sorry, one more change. Please use force push. The registered pass ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services