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

Method to_string

dnn/src/common/utils.cpp:320–326  ·  view source on GitHub ↗

======================== CpuNDRange ======================== */

Source from the content-addressed store, hash-verified

318
319/* ======================== CpuNDRange ======================== */
320std::string CpuNDRange::to_string() const {
321 std::string ret;
322 for (size_t i = 0; i < m_dimension; i++) {
323 ret += megdnn::ssprintf(" %zu", m_dim[i]);
324 }
325 return ret;
326}
327
328size_t& CpuNDRange::operator[](size_t idx) {
329 megdnn_assert(

Callers 15

build_infoMethod · 0.45
to_lite_layoutMethod · 0.45
encodeMethod · 0.45
format_and_printMethod · 0.45
__assert_shape_equalMethod · 0.45
write_tensor_to_fileMethod · 0.45
DEF_IMPLFunction · 0.45
helper.hFile · 0.45
canonize_paramsMethod · 0.45
check_execMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected