Files
pytorch/torch/csrc/autograd/symbolic.h

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