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

Function InferFromGraph

tensorflow/core/grappler/utils/frame_test.cc:66–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65template <typename T>
66void InferFromGraph(FrameView* frame_view, GraphDef* graph, bool valid) {
67 Status status;
68 T graph_view(graph, &status);
69 TF_ASSERT_OK(status);
70 status = frame_view->InferFromGraphView(graph_view);
71 if (valid) {
72 TF_ASSERT_OK(status);
73 } else {
74 ASSERT_FALSE(status.ok());
75 }
76}
77
78template <>
79void InferFromGraph<GraphDef>(FrameView* frame_view, GraphDef* graph,

Callers

nothing calls this directly

Calls 2

InferFromGraphViewMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected