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

Method begin

imperative/src/include/megbrain/imperative/utils/span.h:27–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 template <typename TContainer>
26 Span(const TContainer& container) : Span(container.data(), container.size()) {}
27 const T* begin() const { return m_begin; }
28 const T* end() const { return m_end; }
29 const T* data() const { return m_begin; }
30 size_t size() const { return m_end - m_begin; }

Callers 15

_replace_varsFunction · 0.45
_replace_oprsFunction · 0.45
init_graph_rtFunction · 0.45
init_tensorFunction · 0.45
init_commonFunction · 0.45
check_any_worker_failedFunction · 0.45
helper.hFile · 0.45
to_listFunction · 0.45
_expand_dims_cppFunction · 0.45
_squeeze_cppFunction · 0.45
unregisterMethod · 0.45

Calls

no outgoing calls

Tested by 2

apply_on_physical_tensorFunction · 0.36