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

Method Run

tensorflow/core/grappler/clusters/virtual_cluster.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66Status VirtualCluster::Run(const GraphDef& graph,
67 const std::vector<std::pair<string, Tensor>>& feed,
68 const std::vector<string>& fetch,
69 RunMetadata* metadata) {
70 GrapplerItem item;
71 item.graph = graph;
72 item.feed = feed;
73 item.fetch = fetch;
74 return Run(item, metadata);
75}
76
77Status VirtualCluster::Run(const GrapplerItem& item, RunMetadata* metadata) {
78 // Initializes an analytical cost estimator to estimate the graph cost. Makes

Callers

nothing calls this directly

Calls 9

ResourceExhaustedFunction · 0.85
GetSchedulerMethod · 0.80
memory_sizeMethod · 0.80
RunFunction · 0.50
InitializeMethod · 0.45
PredictCostsMethod · 0.45
GetPeakMemoryUsageMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected