sandeep-krishnamurthy commented on issue #14977: Add an utility for operator benchmarks URL: https://github.com/apache/incubator-mxnet/pull/14977#issuecomment-494513910 Latest updates: 1. Add more operator benchmarks - ~19 tensor operations are added till now. 2. Support to export result as json/md 3. Add autogenerated results markdown file 4. Move everything to only test core low level operators, i.e., NDArray operators only, no Gluon. 5. Support to send a batch of operators for testing with same inputs. Example - Below we run all 5 arithmetic operators performance tests in one call. ``` benchmark_res = run_performance_test([nd.add, nd.subtract, nd.multiply, nd.divide, nd.modulo], run_backward=True, dtype=dtype, ctx=ctx, inputs=[{"lhs": (1024, 1024), "rhs": (1024, 1024)}, {"lhs": (10000, 10), "rhs": (10000, 10)}, {"lhs": (10000, 1), "rhs": (10000, 100)}], warmup=warmup, runs=runs) ``` 6. Updates and clarifications in README ping - @szha @apeforest @nswamy @access2rohit @Zha0q1 for review.
---------------------------------------------------------------- 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
