Preserve names when converting to/from NetDef.
authorMikhail Zolotukhin <mvz@fb.com>
Fri, 22 Feb 2019 22:56:02 +0000 (14:56 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 22 Feb 2019 23:25:52 +0000 (15:25 -0800)
commit6d744f8fbfe6ef1c90534893d4ca2b2caf8a0df4
treefd470113098c17c3e7a5a3e199f06ae017cebcda
parentdbd66c17bcae6015844f2603bb5db28af84ac7d7
Preserve names when converting to/from NetDef.

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/17378

Differential Revision: D14176515

Pulled By: ZolotukhinM

fbshipit-source-id: da9ea28310250ab3ca3a99cdc210fd8d1fbbc82b
test/cpp/jit/test_netdef_converter.h
torch/csrc/jit/netdef_converter.cpp