Caffe2 - C++ API
A deep learning, cross platform ML framework
peephole.h
1 #pragma once
2 
3 #include <torch/csrc/jit/ir.h>
4 
5 namespace torch {
6 namespace jit {
7 
8 TORCH_API void PeepholeOptimize(
9  const std::shared_ptr<Graph>& graph,
10  bool addmm_fusion_enabled = false);
11 TORCH_API void PeepholeOptimize(
12  Block* block,
13  bool addmm_fusion_enabled = false);
14 
15 } // namespace jit
16 } // namespace torch
Definition: jit_type.h:17