mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE] [3/N] Use nested namespaces (#110314)
Mostly in torch/csrc/jit/runtime and in `ATen/cuda/` Pull Request resolved: https://github.com/pytorch/pytorch/pull/110314 Approved by: https://github.com/seemethere
This commit is contained in:
committed by
PyTorch MergeBot
parent
8745d2d4f2
commit
ad8aef0f98
@ -53,8 +53,7 @@ C10_DEFINE_bool(
|
||||
false,
|
||||
"If true, disable the memory overlap check in debug mode in ProcessedNode::run()");
|
||||
|
||||
namespace torch {
|
||||
namespace jit {
|
||||
namespace torch::jit {
|
||||
|
||||
namespace {
|
||||
|
||||
@ -2323,5 +2322,4 @@ const MemoryPlanner* StaticRuntime::get_memory_planner() const {
|
||||
return block_->get_memory_planner();
|
||||
}
|
||||
|
||||
} // namespace jit
|
||||
} // namespace torch
|
||||
} // namespace torch::jit
|
||||
|
Reference in New Issue
Block a user