MCPcopy Create free account
hub / github.com/alibaba/euler / Executor

Method Executor

euler/core/framework/executor.cc:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace euler {
28
29Executor::Executor(DAG* dag, ThreadPool* thread_pool, OpKernelContext* ctx)
30 : dag_(dag), thread_pool_(thread_pool), ctx_(ctx),
31 ref_(dag->num_nodes()), remain_node_(dag->num_nodes()) {
32 for (auto& node : dag->nodes()) {
33 ref_[node->id()] = node->num_inputs();
34 }
35}
36
37void Executor::Run() {
38 Signal sig;

Callers

nothing calls this directly

Calls 4

num_nodesMethod · 0.80
nodesMethod · 0.80
num_inputsMethod · 0.80
idMethod · 0.45

Tested by

no test coverage detected