MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / Consume

Method Consume

tensorflow/core/lib/core/stringpiece.h:107–113  ·  view source on GitHub ↗

Checks whether StringPiece starts with x and if so advances the beginning of it to past the match. It's basically a shortcut for starts_with followed by remove_prefix.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

NodeNamePartsFromInputFunction · 0.80
RemoveAssetPrefixMethod · 0.80
InferSourceFileNameFunction · 0.80
GenEagerPythonOpMethod · 0.80
ReadAllLinesMethod · 0.80
ParseShapeStringInternalFunction · 0.80
WordWrapFunction · 0.80
ConsumeEqualsFunction · 0.80
StartsWithFieldNameFunction · 0.80
ConvertLineFunction · 0.80
FindMultilineFunction · 0.80
PBTxtFromMultilineFunction · 0.80

Calls

no outgoing calls

Tested by 3

ParsePathMethod · 0.64
MatchFunction · 0.64
ColocationGroupMethod · 0.64