1#pragma once
2
3#include <torch/csrc/profiler/orchestration/observer.h>
4
5// There are some components which use these symbols. Until we migrate them
6// we have to mirror them in the old autograd namespace.
7namespace torch {
8namespace autograd {
9namespace profiler {
10using torch::profiler::impl::ActivityType;
11using torch::profiler::impl::getProfilerConfig;
12using torch::profiler::impl::ProfilerConfig;
13using torch::profiler::impl::profilerEnabled;
14using torch::profiler::impl::ProfilerState;
15} // namespace profiler
16} // namespace autograd
17} // namespace torch
18