Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

neilisaac / torch   python

Repository URL to install this package:

Version: 1.8.0 

/ include / caffe2 / opt / optimizer.h

#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 {

TORCH_API NetDef optimize(NetDef net, Workspace* ws, int level = 1);
TORCH_API NetDef optimize(NetDef net, int level = 1);

} // namespace opt
} // namespace caffe2

#endif // CAFFE2_OPT_OPTIMIZER_H