/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/canonicalize.h (492B)
#pragma once
#include
namespace torch {
namespace jit {
TORCH_API std::shared_ptr Canonicalize(
const std::shared_ptr& graph,
bool keep_unique_names = true);
TORCH_API void CanonicalizeOutputs(std::shared_ptr& graph);
TORCH_API c10::optional firstOrLastUse(Value* v, bool find_first);
TORCH_API bool isBeforeOrAfter(
const Use& a,
const Use& b,
bool checking_before);
} // namespace jit
} // namespace torch