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

Function ConsumeAttrName

tensorflow/core/framework/op_def_builder.cc:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42bool ConsumeAttrName(StringPiece* sp, StringPiece* out) {
43 return Scanner(*sp)
44 .One(Scanner::LETTER)
45 .Any(Scanner::LETTER_DIGIT_UNDERSCORE)
46 .StopCapture()
47 .AnySpace()
48 .OneLiteral(":")
49 .AnySpace()
50 .GetResult(sp, out);
51}
52
53bool ConsumeListPrefix(StringPiece* sp) {
54 return Scanner(*sp)

Callers 1

FinalizeAttrFunction · 0.85

Calls 3

ScannerClass · 0.85
GetResultMethod · 0.45
OneMethod · 0.45

Tested by

no test coverage detected