support 0 size in any of the tensor dimensions in mkldnn (#15295)
authorCheng,Penghui <penghui.cheng@intel.com>
Sat, 5 Jan 2019 06:30:48 +0000 (22:30 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 5 Jan 2019 06:33:18 +0000 (22:33 -0800)
commit1488c5dd03a7a619b2f955ddd6997751b1149784
tree281aec7caa0c3f47baadb2ab8fb36ba888a19146
parent2d8b3322629a529911397a655b6f3c0580f31411
support 0 size in any of the tensor dimensions in mkldnn (#15295)

Summary:
support 0 size in any of the tensor dimensions in mkldnn
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15295

Differential Revision: D13573747

Pulled By: yinghai

fbshipit-source-id: 5bf7a0b9e2567e80f44981a7823be5407fc94e53
caffe2/ideep/operators/operator_fallback_ideep.h
caffe2/python/ideep/copy_op_test.py
caffe2/python/pybind_state_ideep.cc