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

Method Execute

tensorflow/lite/delegates/gpu/gl/api.cc:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 : runtime_(std::move(runtime)) {}
60
61 Status Execute() final {
62 std::lock_guard<std::mutex> lock(guard_);
63 if (state_ != InferenceContextState::NOT_STARTED) {
64 return FailedPreconditionError("InferenceContext is not reset");
65 }
66 state_ = InferenceContextState::IN_PROGRESS;
67 return runtime_->Execute();
68 }
69
70 Status Reset() final {
71 std::lock_guard<std::mutex> lock(guard_);

Callers 1

ExecuteMethod · 0.45

Calls 1

FailedPreconditionErrorFunction · 0.50

Tested by

no test coverage detected