• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #pragma once
2 #include <memory>
3 
4 #include <torch/csrc/Export.h>
5 
6 namespace torch::jit {
7 
8 struct Graph;
9 
10 // Transforms loops so that they can be represented as python
11 // for or while loops
12 TORCH_API void CanonicalizeModifiedLoops(std::shared_ptr<Graph>& graph);
13 
14 } // namespace torch::jit
15