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

Function ValidateOpName

tensorflow/core/framework/node_def_util.cc:804–810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802}
803
804Status ValidateOpName(const string& op_name) {
805 if (IsValidOpName(op_name)) {
806 return Status::OK();
807 } else {
808 return errors::InvalidArgument("Illegal op name '", op_name, "'");
809 }
810}
811
812Status ValidateExternalNodeDefSyntax(const NodeDef& node_def) {
813 Status s = ValidateOpName(node_def.name());

Callers 1

Calls 2

IsValidOpNameFunction · 0.85
InvalidArgumentFunction · 0.85

Tested by

no test coverage detected