Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 554e997

Browse files
Yi Chengfacebook-github-bot
Yi Cheng
authored andcommitted
Move predictor into caffe2/caffe2/predictor (#9548)
Summary: Pull Request resolved: pytorch/pytorch#9548 Pull Request resolved: #157 One part of refactor predictor. Move all the files into predictor dir. Reviewed By: highker Differential Revision: D8845276 fbshipit-source-id: 1e917464b0c8a042f025128a082c784eaa3b7013
1 parent 74a55d6 commit 554e997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytorch_translate/cpp/DbPredictor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "DbPredictor.h"
22

3-
#include <caffe2/core/predictor_utils.h>
3+
#include <caffe2/predictor/predictor_utils.h>
44

55
namespace pytorch {
66
namespace translate {

pytorch_translate/cpp/DbPredictor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
#include <string>
66

7-
#include <caffe2/core/predictor.h>
87
#include <caffe2/core/workspace.h>
8+
#include <caffe2/predictor/predictor.h>
99

1010
namespace pytorch {
1111
namespace translate {

0 commit comments

Comments
 (0)