MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / DumpSampleNeighbors

Method DumpSampleNeighbors

paddle/fluid/framework/data_feed.cc:2925–2934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2923}
2924
2925void SlotRecordInMemoryDataFeed::DumpSampleNeighbors(std::string dump_path) {
2926 VLOG(1) << "INTO SlotRecordInMemoryDataFeed::DumpSampleNeighbors";
2927#if defined(PADDLE_WITH_PSCORE) && defined(PADDLE_WITH_HETERPS)
2928 if (gpu_graph_mode_) {
2929 std::string path =
2930 string::format_string("%s/part-%03d", dump_path.c_str(), thread_id_);
2931 gpu_graph_data_generator_.DumpSampleNeighbors(path);
2932 }
2933#endif
2934}
2935
2936#if defined(PADDLE_WITH_CUDA) && defined(PADDLE_WITH_HETERPS)
2937void SlotRecordInMemoryDataFeed::BuildSlotBatchGPU(const int ins_num,

Callers

nothing calls this directly

Calls 2

format_stringFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected