MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / len

Function len

src/shape_transform_descriptor.cpp:202–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202static std::size_t len(const std::vector<dimension::sub*>& subs)
203{
204 return transform_accumulate(
205 subs.begin(), subs.end(), std::size_t{1}, std::multiplies<>{}, [](const dimension::sub* s) {
206 return s->len;
207 });
208}
209
210static std::size_t visible_len(const std::vector<dimension::sub*>& subs)
211{

Callers 15

roctx.pyFile · 0.85
parseFunction · 0.85
mainFunction · 0.85
substituteMethod · 0.85
add_size_paramMethod · 0.85
virtual_argMethod · 0.85
write_to_tmp_varMethod · 0.85
api.pyFile · 0.85
print_statusFunction · 0.85
plot_compile_analysisFunction · 0.85
convert_memberFunction · 0.85
wrapup_inputsFunction · 0.85

Calls 3

transform_accumulateFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 7

wrapup_inputsFunction · 0.68
read_outputsFunction · 0.68
get_input_shapesFunction · 0.68
check_correctnessFunction · 0.68
mainFunction · 0.68
check_argumentFunction · 0.68