1 | #pragma once |
---|---|
2 | #include <c10/macros/Export.h> |
3 | #include <c10/util/Optional.h> |
4 | #include <torch/csrc/lazy/core/ir_metadata.h> |
5 | #include <vector> |
6 | |
7 | namespace torch { |
8 | namespace lazy { |
9 | |
10 | c10::optional<SourceLocation> TORCH_API GetPythonFrameTop(); |
11 | |
12 | std::vector<SourceLocation> TORCH_API GetPythonFrames(); |
13 | |
14 | } // namespace lazy |
15 | } // namespace torch |
16 |