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

Method ExecutorImpl

tensorflow/core/common_runtime/executor.cc:157–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155class ExecutorImpl : public Executor {
156 public:
157 explicit ExecutorImpl(const LocalExecutorParams& p,
158 std::unique_ptr<const Graph> g)
159 : immutable_state_(p, std::move(g)) {
160 Status s = ReadBoolFromEnvVar(
161 nodestats::enable_cost_model_env_name, true, &enable_cost_model_);
162 if (!s.ok()) {
163 LOG(WARNING) << "Read ENABLE_EXECUTE_COST_MODEL envrionment error. "
164 << s.error_message();
165 }
166 }
167
168 ~ExecutorImpl() {
169 if (cost_model_) {

Callers

nothing calls this directly

Calls 2

ReadBoolFromEnvVarFunction · 0.50
okMethod · 0.45

Tested by

no test coverage detected