1#pragma once
2
3#include <torch/csrc/jit/ir/ir.h>
4
5namespace torch {
6namespace jit {
7
8// return true if graph is modified
9// Optimizing General Graph Patterns that
10// are not covered in peephole.cpp and peephole_list_idioms
11TORCH_API bool PeepholeOptimizeNonTensor(const std::shared_ptr<Graph>& graph);
12
13} // namespace jit
14} // namespace torch
15