MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetStringCount

Function GetStringCount

tensorflow/lite/string_util.cc:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120int GetStringCount(const char* raw_buffer) {
121 // The first integers in the raw buffer is the number of strings.
122 return *GetIntPtr(raw_buffer);
123}
124
125int GetStringCount(const TfLiteTensor* tensor) {
126 // The first integers in the raw buffer is the number of strings.

Callers 14

TESTFunction · 0.85
GetTensorMethod · 0.85
GetStringValuesMethod · 0.85
GetStringOutputMethod · 0.85
GetStringOutputMethod · 0.85
GatherStringsFunction · 0.85
GetOutputMethod · 0.85
ExtractVectorMethod · 0.85
GetStringOutputMethod · 0.85
EvalFunction · 0.85

Calls 1

GetIntPtrFunction · 0.70

Tested by 7

TESTFunction · 0.68
GetStringValuesMethod · 0.68
GetStringOutputMethod · 0.68
GetStringOutputMethod · 0.68
GetOutputMethod · 0.68
ExtractVectorMethod · 0.68
GetStringOutputMethod · 0.68