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

Method Span

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

Source from the content-addressed store, hash-verified

20
21public:
22 Span() {}
23 Span(const T* begin, const T* end) : m_begin{begin}, m_end{end} {}
24 Span(const T* begin, size_t size) : Span(begin, begin + size) {}
25 template <typename TContainer>

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected