mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
Let's have some fun. Pull Request resolved: https://github.com/pytorch/pytorch/pull/78828 Approved by: https://github.com/ezyang
16 lines
337 B
C++
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
|