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

Function GetOpDefHasDocStringError

tensorflow/core/api_def/api_test.cc:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228string GetOpDefHasDocStringError(const string& op_name) {
229 return strings::Printf(
230 "OpDef for %s has a doc string. "
231 "Doc strings must be defined in ApiDef instead of OpDef. "
232 "Please, add summary and descriptions in api_def_%s"
233 ".pbtxt file instead",
234 op_name.c_str(), op_name.c_str());
235}
236
237// Check that OpDef's do not have descriptions and summaries.
238// Descriptions and summaries must be in corresponding ApiDefs.

Callers 1

TEST_FFunction · 0.85

Calls 2

PrintfFunction · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected