mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/10946 ``` codemod -d . --extensions cc,cpp,cu,cuh,h caffe2/proto/caffe2.pb.h caffe2/proto/caffe2_pb.h ``` Reviewed By: houseroad Differential Revision: D9539945 fbshipit-source-id: 497d04720e8e7e61c05ffe1b23733d0cb774de7e
18 lines
404 B
C++
18 lines
404 B
C++
#ifndef CAFFE2_OPT_OPTIMIZER_H
|
|
#define CAFFE2_OPT_OPTIMIZER_H
|
|
|
|
#include "caffe2/core/common.h"
|
|
#include "caffe2/proto/caffe2_pb.h"
|
|
#include "caffe2/core/workspace.h"
|
|
|
|
namespace caffe2 {
|
|
namespace opt {
|
|
|
|
CAFFE2_API NetDef optimize(NetDef net, Workspace* ws, int level = 1);
|
|
CAFFE2_API NetDef optimize(NetDef net, int level = 1);
|
|
|
|
} // namespace opt
|
|
} // namespace caffe2
|
|
|
|
#endif // CAFFE2_OPT_OPTIMIZER_H
|