1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| #pragma once
|
| #include "caffe2/core/common.h"
| #include "caffe2/core/workspace.h"
| #include "caffe2/proto/caffe2_pb.h"
| #include "nomnigraph/Representations/NeuralNet.h"
|
| namespace caffe2 {
| namespace opt {
|
| CAFFE2_API void OptimizeForMkldnn(
| nom::repr::NNModule* nn,
| caffe2::Workspace* ws,
| bool training_mode = false);
| }
| } // namespace caffe2
|
|