MCPcopy Create free account
hub / github.com/apache/arrow / EnumNamesSparseTensorIndex

Function EnumNamesSparseTensorIndex

cpp/src/generated/SparseTensor_generated.h:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84inline const char * const *EnumNamesSparseTensorIndex() {
85 static const char * const names[5] = {
86 "NONE",
87 "SparseTensorIndexCOO",
88 "SparseMatrixIndexCSX",
89 "SparseTensorIndexCSF",
90 nullptr
91 };
92 return names;
93}
94
95inline const char *EnumNameSparseTensorIndex(SparseTensorIndex e) {
96 if (::flatbuffers::IsOutRange(e, SparseTensorIndex_NONE, SparseTensorIndex_SparseTensorIndexCSF)) return "";

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected