pytorch/caffe2/opt/mobile.h
Orion Reblitz-Richardson d4832f1e7b More fixes for hidden visibility (#10624)
Summary:
Some more `ATEN_API` additions for hidden visibility.

Running CI tests to see what fails to link.

cc Yangqing mingzhe09088 ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/10624

Reviewed By: mingzhe09088

Differential Revision: D9392728

Pulled By: orionr

fbshipit-source-id: e0f0861496b12c9a4e40c10b6e0c9e0df18e8726
2018-08-20 10:11:59 -07:00

17 lines
390 B
C++

#ifndef CAFFE2_OPT_MOBILE_H_
#define CAFFE2_OPT_MOBILE_H_
#include "caffe2/core/common.h"
#include "nomnigraph/Representations/NeuralNet.h"
namespace caffe2 {
namespace opt {
CAFFE2_API void addNNPACK(nom::repr::NNModule* nn, bool low_memory = false);
CAFFE2_API void fuseNNPACKConvRelu(nom::repr::NNModule* nn);
} // namespace opt
} // namespace caffe2
#endif // CAFFE2_OPT_MOBILE_H_