MCPcopy Create free account
hub / github.com/alibaba/MNN / index

Method index

tools/train/source/data/RandomSampler.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54size_t RandomSampler::index() {
55 return mIndex;
56}
57
58std::vector<size_t> RandomSampler::next(size_t batchSize) {
59 MNN_ASSERT(mIndex <= mIndices.size());

Callers 15

extract_choiceFunction · 0.45
get_experts_graphsMethod · 0.45
embedMethod · 0.45
forwardMethod · 0.45
_propagate_quant_infoMethod · 0.45
_propagate_quant_infoMethod · 0.45
initTensorsFunction · 0.45
ConvBufExecutionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected