mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
This reverts commit 157a3d2a7c.
Reverted https://github.com/pytorch/pytorch/pull/85512 on behalf of https://github.com/DanilBaibak due to Due to files were deleted, the internal build failed. Please re-submit via codev.
18 lines
559 B
C++
18 lines
559 B
C++
#pragma once
|
|
|
|
#include <torch/csrc/profiler/orchestration/observer.h>
|
|
|
|
// There are some components which use these symbols. Until we migrate them
|
|
// we have to mirror them in the old autograd namespace.
|
|
namespace torch {
|
|
namespace autograd {
|
|
namespace profiler {
|
|
using torch::profiler::impl::ActivityType;
|
|
using torch::profiler::impl::getProfilerConfig;
|
|
using torch::profiler::impl::ProfilerConfig;
|
|
using torch::profiler::impl::profilerEnabled;
|
|
using torch::profiler::impl::ProfilerState;
|
|
} // namespace profiler
|
|
} // namespace autograd
|
|
} // namespace torch
|