Files
pytorch/torch/csrc/jit/frontend/canonicalize_modified_loop.h

15 lines
287 B
C++

#pragma once
#include <memory>
#include <torch/csrc/Export.h>
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>& graph);
} // namespace torch::jit