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

Function RemoveWhitespaceContext

tensorflow/core/platform/str_util.cc:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56size_t RemoveWhitespaceContext(StringPiece* text) {
57 absl::string_view new_text = absl::StripAsciiWhitespace(*text);
58 size_t count = text->size() - new_text.size();
59 *text = new_text;
60 return count;
61}
62
63bool ConsumeLeadingDigits(StringPiece* s, uint64* val) {
64 const char* p = s->data();

Callers 4

ComputeMethod · 0.85
ComputeMethod · 0.85
ParseDebugOpNameMethod · 0.85
TESTFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.68