mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Follows #131034 Pull Request resolved: https://github.com/pytorch/pytorch/pull/131735 Approved by: https://github.com/ezyang
15 lines
287 B
C++
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
|