Add Pickler C++ API (#23241)

Summary:
This PR adds functions to wrap the Pickler and exposes them to the C++ API
](https://our.intern.facebook.com/intern/diff/16675418/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/23241

Pulled By: driazati

Differential Revision: D16675418

fbshipit-source-id: 76543c81ac67c3e20a75ebc2073191bcbd6573bf
This commit is contained in:
davidriazati
2019-08-09 12:16:10 -07:00
committed by Facebook Github Bot
parent e81f296807
commit 01d98c7cfb
15 changed files with 288 additions and 118 deletions

View File

@ -4,5 +4,6 @@
#include <torch/csrc/autograd/generated/variable_factories.h>
#include <torch/csrc/jit/custom_operator.h>
#include <torch/csrc/jit/import.h>
#include <torch/csrc/jit/pickle.h>
#include <ATen/ATen.h>