Skip to content

Commit ba86885

Browse files
authored
Merge pull request #5345 from luotao1/ProtoDataProvider
remove usused ProtoDataProvider related codes
2 parents 3375e3e + e01b094 commit ba86885

26 files changed

+220
-2770
lines changed

paddle/gserver/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ if(MOBILE_INFERENCE)
7373
list(REMOVE_ITEM GSERVER_SOURCES
7474
dataproviders/DataProvider.cpp
7575
dataproviders/MultiDataProvider.cpp
76-
dataproviders/ProtoDataProvider.cpp
7776
dataproviders/PyDataProvider2.cpp
7877
dataproviders/PyDataProvider.cpp)
7978

paddle/gserver/dataproviders/DataProvider.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ limitations under the License. */
1616

1717
#include <unistd.h>
1818
#include <algorithm>
19-
#include "ProtoDataProvider.h"
2019
#include "paddle/utils/Logging.h"
20+
#include "paddle/utils/Stat.h"
2121
#include "paddle/utils/StringUtil.h"
2222
#include "paddle/utils/Util.h"
2323

@@ -164,8 +164,6 @@ DataProvider* DataProvider::create(const DataConfig& config,
164164

165165
REGISTER_DATA_PROVIDER(simple, SimpleDataProvider);
166166
REGISTER_DATA_PROVIDER(dummy, DummyDataProvider);
167-
REGISTER_DATA_PROVIDER(proto, ProtoDataProvider);
168-
REGISTER_DATA_PROVIDER(proto_sequence, ProtoSequenceDataProvider);
169167

170168
int64_t DataProvider::getNextBatch(int64_t size, DataBatch* batch) {
171169
int64_t batchSize = doubleBuffer_ ? getNextBatchFromBuffer(size, batch)

0 commit comments

Comments
 (0)