Files
pytorch/torch/csrc/lazy/python/python_util.h
2022-06-11 21:11:16 +00:00

16 lines
337 B
C++

#pragma once
#include <c10/macros/Export.h>
#include <c10/util/Optional.h>
#include <torch/csrc/lazy/core/ir_metadata.h>
#include <vector>
namespace torch {
namespace lazy {
c10::optional<SourceLocation> TORCH_API GetPythonFrameTop();
std::vector<SourceLocation> TORCH_API GetPythonFrames();
} // namespace lazy
} // namespace torch