Initialize tensor with fp32 in Caffe2Backend.prepare() (#15832)
authorYinghai Lu <yinghai@fb.com>
Wed, 9 Jan 2019 06:24:37 +0000 (22:24 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 9 Jan 2019 06:33:52 +0000 (22:33 -0800)
commit5fe26976559490a99cb60a0dd2e457c1fdda65ba
tree92d1332a1df888c6919e568e0395fd7fb2d5821c
parentc93cf89de21ff40d544f2091ea2cdcca629c4353
Initialize tensor with fp32 in Caffe2Backend.prepare() (#15832)

Summary:
Fix https://github.com/pytorch/pytorch/issues/14104
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15832

Reviewed By: bddppq

Differential Revision: D13598332

Pulled By: yinghai

fbshipit-source-id: 3302ac47928974f49353c5da8af440e5c1716c22
caffe2/python/onnx/backend.py