Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
size_t RandomSampler::index() {
55
return mIndex;
56
}
57
58
std::vector<size_t> RandomSampler::next(size_t batchSize) {
59
MNN_ASSERT(mIndex <= mIndices.size());
Callers
15
insert_groupnorm_plugin
Method · 0.45
insert_layernorm_plugin
Method · 0.45
insert_splitgelu_plugin
Method · 0.45
insert_seq2spatial_plugin
Method · 0.45
extract_choice
Function · 0.45
get_experts_graphs
Method · 0.45
embed
Method · 0.45
forward
Method · 0.45
_propagate_quant_info
Method · 0.45
_propagate_quant_info
Method · 0.45
initTensors
Function · 0.45
ConvBufExecution
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected