Files
pytorch/torch/csrc/jit/runtime/print_handler.h
Nikita Shulga ad8aef0f98 [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
2023-09-30 02:23:48 +00:00

16 lines
308 B
C++

#pragma once
#include <torch/csrc/Export.h>
#include <string>
namespace torch::jit {
using PrintHandler = void (*)(const std::string&);
TORCH_API PrintHandler getDefaultPrintHandler();
TORCH_API PrintHandler getPrintHandler();
TORCH_API void setPrintHandler(PrintHandler ph);
} // namespace torch::jit