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

Function ConsumeEquals

tensorflow/core/framework/op_gen_lib.cc:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71bool ConsumeEquals(StringPiece* description) {
72 if (absl::ConsumePrefix(description, "=")) {
73 while (absl::ConsumePrefix(description,
74 " ")) { // Also remove spaces after "=".
75 }
76 return true;
77 }
78 return false;
79}
80
81// Split `*orig` into two pieces at the first occurrence of `split_ch`.
82// Returns whether `split_ch` was found. Afterwards, `*before_split`

Callers 3

GetReturnsFunction · 0.85
AddDocStringInputsMethod · 0.85
OpInfoMethod · 0.85

Calls 1

ConsumePrefixFunction · 0.50

Tested by

no test coverage detected