#pragma once #include #include #include namespace torch::jit::interpreter { // pre-processing that happens once per graph struct PreprocessGraph { explicit PreprocessGraph(Graph& g); // Outputs of the preprocessing: std::shared_ptr graph; std::unordered_map can_emit_inline; }; } // namespace torch::jit::interpreter