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

Method InferFromGraph

tensorflow/core/grappler/utils/frame.cc:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153Status FrameView::InferFromGraph(const GraphDef& graph) {
154 Status status;
155 utils::GraphView graph_view(&graph, &status);
156 TF_RETURN_IF_ERROR(status);
157 return InferFromGraphViewT(graph_view);
158}
159
160const std::vector<int>& FrameView::Frames(const NodeDef& node) const {
161 DCHECK(is_inferred_) << "FrameView is not initialized";

Callers 5

InferFromGraph<GraphDef>Function · 0.80
ExpandMethod · 0.80
OptimizeMethod · 0.80
ProcessGraphDefMethod · 0.80

Calls

no outgoing calls

Tested by 1

InferFromGraph<GraphDef>Function · 0.64