MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / idx

Method idx

dnn/include/megdnn/tensor_iter.h:135–139  ·  view source on GitHub ↗

get logical index; valonly must be false

Source from the content-addressed store, hash-verified

133
134 //! get logical index; valonly must be false
135 const size_t* idx() const {
136 if (valonly)
137 on_access_idx_valonly_true();
138 return m_axis_offset;
139 }
140
141 /*!
142 * \brief memory address offset, measured in number of elements

Callers 13

format_msgMethod · 0.80
do_compare_tensor_valueFunction · 0.80
mavi_iter_data_valueFunction · 0.80
mesh_indexing_implFunction · 0.80
reduce_rawFunction · 0.80
to_paramMethod · 0.80
do_execFunction · 0.80
exec_mesh_indexingFunction · 0.80
exec_incr_mesh_indexingFunction · 0.80
exec_set_mesh_indexingFunction · 0.80

Calls

no outgoing calls

Tested by 3

mavi_iter_data_valueFunction · 0.64
mesh_indexing_implFunction · 0.64
reduce_rawFunction · 0.64