mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Pull Request resolved: https://github.com/pytorch/pytorch/pull/117821 Approved by: https://github.com/Skylion007
17 lines
300 B
C++
17 lines
300 B
C++
#pragma once
|
|
|
|
#include <torch/csrc/jit/ir/ir.h>
|
|
#include <torch/csrc/onnx/onnx.h>
|
|
|
|
namespace torch::autograd {
|
|
|
|
struct SymbolicContext {
|
|
jit::Block* block;
|
|
};
|
|
|
|
struct symbolic_unconvertible : public std::runtime_error {
|
|
using std::runtime_error::runtime_error;
|
|
};
|
|
|
|
} // namespace torch::autograd
|