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

Function IsValidControlInputName

tensorflow/core/framework/node_def_util.cc:781–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781bool IsValidControlInputName(StringPiece sp) {
782 return Scanner(sp)
783 .OneLiteral("^")
784 .One(Scanner::LETTER_DIGIT_DOT)
785 .Any(Scanner::LETTER_DIGIT_DASH_DOT_SLASH_UNDERSCORE)
786 .Eos()
787 .GetResult();
788}
789
790} // namespace
791

Callers 1

ValidateOpInputFunction · 0.85

Calls 3

ScannerClass · 0.85
GetResultMethod · 0.45
OneMethod · 0.45

Tested by

no test coverage detected