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

Function ConsumeInOutName

tensorflow/core/framework/op_def_builder.cc:276–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276bool ConsumeInOutName(StringPiece* sp, StringPiece* out) {
277 return Scanner(*sp)
278 .One(Scanner::LOWERLETTER)
279 .Any(Scanner::LOWERLETTER_DIGIT_UNDERSCORE)
280 .StopCapture()
281 .AnySpace()
282 .OneLiteral(":")
283 .AnySpace()
284 .GetResult(sp, out);
285}
286
287bool ConsumeInOutRefOpen(StringPiece* sp) {
288 return Scanner(*sp)

Callers 1

FinalizeInputOrOutputFunction · 0.85

Calls 3

ScannerClass · 0.85
GetResultMethod · 0.45
OneMethod · 0.45

Tested by

no test coverage detected