#pragma once #include namespace torch::jit { // Peephole Optimizes alias sensitive peepholes // Currently this is invoked as part of PeepholeOptimize // return true if graph is modified // Optimizes on TensorType if shape_peepholes is true TORCH_API bool PeepholeOptimizeAliasSensitive( const std::shared_ptr& graph, bool shape_peepholes); } // namespace torch::jit