sglang_v0.5.2/pytorch_2.8.0/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