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

Function ValidateGraphDefAgainstOpRegistry

tensorflow/core/graph/validate.cc:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46Status ValidateGraphDefAgainstOpRegistry(
47 const GraphDef& graph_def, const OpRegistryInterface& op_registry) {
48 GraphDef copy(graph_def);
49 TF_RETURN_IF_ERROR(AddDefaultAttrsToGraphDef(&copy, op_registry, 0));
50 return ValidateGraphDef(copy, op_registry);
51}
52
53Status ValidateGraphDefAgainstOpList(const GraphDef& graph_def,
54 const OpList& op_list) {

Callers 2

VerifyMethod · 0.85

Calls 2

ValidateGraphDefFunction · 0.85

Tested by

no test coverage detected