/usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/jit/passes
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/jit/passes/peephole_non_tensor.h (342B)
#pragma once
#include
namespace torch {
namespace jit {
// return true if graph is modified
// Optimizing General Graph Patterns that
// are not covered in peephole.cpp and peephole_list_idioms
TORCH_API bool PeepholeOptimizeNonTensor(const std::shared_ptr& graph);
} // namespace jit
} // namespace torch