#pragma once #include #include namespace torch::jit { struct Graph; // Transforms loops so that they can be represented as python // for or while loops TORCH_API void CanonicalizeModifiedLoops(std::shared_ptr& graph); } // namespace torch::jit