Metadata for input/output formats in model file proto. (#15252)
authorPritam Damania <pritam.damania@fb.com>
Sat, 22 Dec 2018 01:34:51 +0000 (17:34 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 22 Dec 2018 01:42:38 +0000 (17:42 -0800)
commit90aa21e79583df7d3bc81d27b289773ad7b0e874
treeb12d3648b8f8aa6742fc0ed3efecf1bcec32c7b3
parentf3a588fedebb8e4e131aa734f03e4e61142120d0
Metadata for input/output formats in model file proto. (#15252)

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

We would like to extend the model file format to include strongly type, semantic information
about the model inputs and outputs.

The goal is for a user to be able to consider a model file like a function with
a well defined API describing what the inputs and outputs would be.

Reviewed By: dzhulgakov

Differential Revision: D13009915

fbshipit-source-id: 5df124a876ad03c05fbdaacae0eab659637734c1
caffe2/proto/torch.proto