Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
public:
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
data
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected