Expose is_mkldnn to python and register it as torchscript prim op
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/22386
Differential Revision: D16074722
Pulled By: bddppq
fbshipit-source-id: b9b2a05a894847640084f063fba68d9db4e6aec1