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

Function ConsumeInOutRefOpen

tensorflow/core/framework/op_def_builder.cc:287–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287bool ConsumeInOutRefOpen(StringPiece* sp) {
288 return Scanner(*sp)
289 .OneLiteral("Ref")
290 .AnySpace()
291 .OneLiteral("(")
292 .AnySpace()
293 .GetResult(sp);
294}
295
296bool ConsumeInOutRefClose(StringPiece* sp) {
297 return Scanner(*sp).OneLiteral(")").AnySpace().GetResult(sp);

Callers 1

FinalizeInputOrOutputFunction · 0.85

Calls 2

ScannerClass · 0.85
GetResultMethod · 0.45

Tested by

no test coverage detected