Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ size
Method
size
src/opr/impl/training/dataview.cpp:59–61 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
size_t DataLoader::size() {
60
return m_dataview->size() / m_batchsize;
61
}
62
63
DataPair DataLoader::next() {
64
if (m_idx == 0 && m_shuffle) {
Callers
15
make_reduce_scatter_sum_output
Function · 0.45
work
Method · 0.45
add_worker
Method · 0.45
gen_infos_from_opr_infos
Method · 0.45
group_barrier
Method · 0.45
chk_shape_equal
Method · 0.45
get_output_var_shape
Method · 0.45
exec
Method · 0.45
CollectiveComm
Method · 0.45
init_output_mem_plan
Method · 0.45
mem_plan_fwd_in2out_writable
Method · 0.45
do_execute
Method · 0.45
Calls
no outgoing calls
Tested by
15
make_reduce_scatter_sum_output
Function · 0.36
make_one_cond
Function · 0.36
merge_one_out
Function · 0.36
check_waiting_spec
Function · 0.36
alloc_dynamic
Method · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
check_async_error
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
test_fastrun_opr
Function · 0.36