onnxruntime/onnxruntime/test
Scott McKay 4cac18f666
Optimize CPU Transpose for a single axis moving (#2461)
* Optimize CPU Transpose for one axis moving either inwards or outwards. We have optimizations for NCHW <-> NHWC in CUDA but not CPU. This provides a more generic optimization to the CPU implementation.

Tested performance in both directions with data sizes of 8, 16, 32 and 64 bits, size of axis being moved of 3, 16 and 32, and number of elements to move of 100x100, 300x300 and 1000x1000.

Across all tests the average improvement even with the overhead of python was 2.5x. No cases were slower. Some were 6x faster.

Binary size increase in RelWithDebInfo build is ~5K.

NOTE: See PR comments for details of performance comparison with Eigen. Eigen is slightly faster but increases binary size by 55K just for support of rank 4 input. Binary size would be further increased to support different ranks.
2019-11-26 14:05:44 +10:00
..
automl_ops Add AutoML to 3 main builds. (#1631) 2019-08-16 18:06:16 -07:00
common Move CXX API global into the header (#2228) 2019-10-23 14:15:53 -07:00
contrib_ops Fuse SkipLayerNorm with Bias (#2453) 2019-11-22 14:20:46 -08:00
framework Clean up build.py (#2446) 2019-11-22 12:14:03 -08:00
ir Avoid using the default logger in the graph lib and optimizers (#2361) 2019-11-14 13:23:28 -08:00
mlas MLAS: Implement U8S8 GEMV kernels (#2069) 2019-10-09 11:54:16 -07:00
onnx Clean up build.py (#2446) 2019-11-22 12:14:03 -08:00
opaque_api Avoid using the default logger in the graph lib and optimizers (#2361) 2019-11-14 13:23:28 -08:00
optimizer Add Attention Fusion Transformer (#2445) 2019-11-25 14:46:37 -08:00
perftest [v2] Add ACL (Arm Compute Library) execution provider (#2258) 2019-10-31 12:25:36 -07:00
platform Fixed tensor reference to const data and cleaned up Env API. (#1979) 2019-10-24 10:28:13 -07:00
proto Use protobuf-lite to reduce onnxruntime.dll size. (#639) 2019-03-21 14:06:38 -07:00
providers Optimize CPU Transpose for a single axis moving (#2461) 2019-11-26 14:05:44 +10:00
python Symbolic shape inference improvements: (#2460) 2019-11-25 10:31:13 -08:00
server Update ORTSRV integration test model path (#2225) 2019-10-23 13:48:20 -07:00
shared_lib CSharp api and test for loading custom op shared library (#2420) 2019-11-21 15:45:49 -08:00
testdata Add Attention Fusion Transformer (#2445) 2019-11-25 14:46:37 -08:00
tvm Replace GSL with GSL-LITE submodule and fix up refs (#1920) 2019-10-01 12:43:29 -07:00
util Avoid using the default logger in the graph lib and optimizers (#2361) 2019-11-14 13:23:28 -08:00
win_getopt Trt execution provider (#382) 2019-03-14 12:00:39 -07:00