Skip to content

Commit

Permalink
fix FillInferBuf (PaddlePaddle#218)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
huwei02 and root authored Feb 23, 2023
1 parent 7ab8d80 commit 8fa81f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paddle/fluid/framework/data_feed.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2133,8 +2133,9 @@ int GraphDataGenerator::FillInferBuf() {
global_infer_node_type_start[infer_cursor] += total_row_;
infer_node_end_ = global_infer_node_type_start[infer_cursor];
cursor_ = infer_cursor;
return 1;
}
return 1;
return 0;
}

void GraphDataGenerator::ClearSampleState() {
Expand Down

0 comments on commit 8fa81f6

Please sign in to comment.