提交 70a5d4f7 编写于 作者: X xujiaqi01 提交者: dongdaxiang

fix error

上级 d25389fe
...@@ -98,15 +98,10 @@ class DataFeed { ...@@ -98,15 +98,10 @@ class DataFeed {
virtual void GlobalShuffle() { virtual void GlobalShuffle() {
PADDLE_THROW("This function(GlobalShuffle) is not implemented."); PADDLE_THROW("This function(GlobalShuffle) is not implemented.");
} }
virtual void FillMemoryDataToChannel() { // This function will do nothing at default
PADDLE_THROW("This function(FillMemoryDataToChannel) is not implemented."); virtual void FillMemoryDataToChannel() { }
} virtual void FillChannelToMemoryData() { }
virtual void FillChannelToMemoryData() { virtual void PutInsToChannel(const std::string& ins_str) { }
PADDLE_THROW("This function(FillChannelToMemoryData) is not implemented.");
}
virtual void PutInsToChannel(const std::string& ins_str) {
PADDLE_THROW("This function(PutInsToChannel) is not implemented.");
}
protected: protected:
// The following three functions are used to check if it is executed in this // The following three functions are used to check if it is executed in this
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册