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

Function NewLocalExecutor

tensorflow/core/common_runtime/executor.cc:1764–1775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1762} // namespace
1763
1764Status NewLocalExecutor(const LocalExecutorParams& params,
1765 std::unique_ptr<const Graph> graph,
1766 Executor** executor) {
1767 ExecutorImpl* impl = new ExecutorImpl(params, std::move(graph));
1768 const Status s = impl->Initialize();
1769 if (s.ok()) {
1770 *executor = impl;
1771 } else {
1772 delete impl;
1773 }
1774 return s;
1775}
1776
1777Status CreateNonCachedKernel(Device* device, FunctionLibraryRuntime* flib,
1778 const NodeDef& ndef, int graph_def_version,

Callers 6

NewExecutorMethod · 0.85
RunMethod · 0.85
CreateMethod · 0.85
CreateMethod · 0.85
RunFunctionMethod · 0.85
InitItemMethod · 0.85

Calls 2

InitializeMethod · 0.45
okMethod · 0.45

Tested by 3

CreateMethod · 0.68
CreateMethod · 0.68
RunFunctionMethod · 0.68