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

Function NewExecutor

tensorflow/core/common_runtime/executor_factory.cc:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76Status NewExecutor(const string& executor_type,
77 const LocalExecutorParams& params,
78 std::unique_ptr<const Graph> graph,
79 std::unique_ptr<Executor>* out_executor) {
80 ExecutorFactory* factory = nullptr;
81 TF_RETURN_IF_ERROR(ExecutorFactory::GetFactory(executor_type, &factory));
82 return factory->NewExecutor(params, std::move(graph), out_executor);
83}
84
85} // namespace tensorflow

Callers 3

CreateExecutorsMethod · 0.85
BenchmarkMethod · 0.85
CreateItemMethod · 0.85

Calls 1

NewExecutorMethod · 0.45

Tested by 1

BenchmarkMethod · 0.68