Back out "Revert D10494123: [c10] Remove at::Optional" (#12991)

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

Remove the file proxying. Before we can do land `using namespace c10` everywhere, we just keep the one off namespace proxy. The follow up diff is going to replace explicit at::optional but keep just `optional` usage

Reviewed By: ezyang, Yangqing

Differential Revision: D10511254

fbshipit-source-id: 8297c61d7e9810ae215a18869a6ec9b63f55d202
This commit is contained in:
Dmytro Dzhulgakov
2018-10-25 15:15:30 -07:00
committed by Facebook Github Bot
parent c47f680086
commit be99eff75a
11 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#include <torch/csrc/utils/memory.h>
#include <ATen/optional.h>
#include "c10/util/Optional.h"
struct TestValue {
explicit TestValue(const int& x) : lvalue_(x) {}