Searched refs:ProfilerDisableOptions (Results 1 – 5 of 5) sorted by relevance
314 struct TORCH_API ProfilerDisableOptions { struct315 ProfilerDisableOptions() = default;316 ProfilerDisableOptions(bool shouldCleanupTLSState, bool shouldConsolidate) in ProfilerDisableOptions() function334 std::optional<ProfilerDisableOptions> profilerDisableOptions = argument377 std::optional<ProfilerDisableOptions> profilerDisableOptions =398 const std::optional<ProfilerDisableOptions> profilerDisableOptions_;
432 std::optional<ProfilerDisableOptions> profilerDisableOptions) { in disableProfilerLegacy()
392 py::class_<ProfilerDisableOptions>(m, "_ProfilerDisableOptions") in THPAutograd_initExtension()397 py::arg("profiler_disable_options") = ProfilerDisableOptions()); in THPAutograd_initExtension()
436 ProfilerDisableOptions requestThreadOptions( in processRunWithProfilingReq()463 ProfilerDisableOptions opts(false, true); in processRunWithProfilingReq()
2632 torch::autograd::profiler::ProfilerDisableOptions(false, true); in TEST()2659 auto opts = torch::autograd::profiler::ProfilerDisableOptions(true, false); in TEST()2674 opts = torch::autograd::profiler::ProfilerDisableOptions(true, false); in TEST()