1. put this git in ./tensorflow/contrib folder
2. cd <tensorflow-root-path>
3. $ git am ./tensorflow/contrib/mkldnn_rnn/0001-enable-mkldnn_rnn-in-tensorflow-codebase.patch -3
4. $ cp ./tensorflow/contrib/mkldnn_rnn/build.sh ./
5. $ ./configure, pls enable mkl while configuration
6. $ . ./build.sh
- functionality test
$ python ./python/kernel_tests/mkldnn_rnn_ops_test.py
- benchmark test
$ python ./python/kernel_tests/mkldnn_rnn_ops_benchmark.py