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

Function iota

src/opr/test/indexing.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace {
19template <class ForwardIterator, class T>
20void iota(ForwardIterator first, ForwardIterator last, T value) {
21 while (first != last) {
22 *first++ = value;
23 ++value;
24 }
25}
26} // namespace
27#else
28using std::iota;

Callers 3

TESTFunction · 0.70
analyzeMethod · 0.50
transposed_layoutFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected