MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / Shape

Method Shape

gpu.hpp:60–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 std::array<size_t, kMaxRank> data = {0};
59 size_t rank = 0;
60 inline Shape() = default;
61 inline Shape(std::initializer_list<size_t> dims) {
62 assert(dims.size() <= kMaxRank);
63 std::copy(dims.begin(), dims.end(), data.begin());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected