mirror of
https://github.com/pytorch/pytorch.git
synced 2026-11-20 09:04:25 +08:00
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:
committed by
Facebook Github Bot
parent
c47f680086
commit
be99eff75a
@@ -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) {}
|
||||
|
||||
Reference in New Issue
Block a user