#pragma once #include #include namespace torch { namespace 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 jit } // namespace torch