mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Follows #137407 Pull Request resolved: https://github.com/pytorch/pytorch/pull/137459 Approved by: https://github.com/Skylion007
14 lines
315 B
C++
14 lines
315 B
C++
#pragma once
|
|
#include <torch/csrc/Export.h>
|
|
#include <torch/csrc/lazy/core/ir_metadata.h>
|
|
#include <optional>
|
|
#include <vector>
|
|
|
|
namespace torch::lazy {
|
|
|
|
std::optional<SourceLocation> TORCH_PYTHON_API GetPythonFrameTop();
|
|
|
|
std::vector<SourceLocation> TORCH_PYTHON_API GetPythonFrames();
|
|
|
|
} // namespace torch::lazy
|