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

Method reset

paddle/fluid/framework/data_feed.cc:3189–3195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3187MiniBatchGpuPack::~MiniBatchGpuPack() {}
3188
3189void MiniBatchGpuPack::reset(const phi::Place& place) {
3190 place_ = place;
3191 stream_holder_.reset(new phi::CUDAStream(place));
3192 stream_ = stream_holder_->raw_stream();
3193 ins_num_ = 0;
3194 pv_num_ = 0;
3195}
3196
3197void MiniBatchGpuPack::pack_all_data(const SlotRecord* ins_vec, int num) {
3198 int uint64_total_num = 0;

Callers 15

InitializeMethod · 0.45
multi_trainer.ccFile · 0.45
GetMutableMethod · 0.45
ClearMethod · 0.45
LoadIntoMemoryByLineMethod · 0.45
MiniBatchGpuPackMethod · 0.45
FinalizeDumpEnvMethod · 0.45
InitTrainerEnvMethod · 0.45
RenameInternalMethod · 0.45

Calls 1

raw_streamMethod · 0.45

Tested by

no test coverage detected