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

Method RedoAllDelegates

tensorflow/lite/core/subgraph.cc:1147–1157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1145}
1146
1147TfLiteStatus Subgraph::RedoAllDelegates() {
1148 if (!delegates_undone_) return kTfLiteOk;
1149
1150 delegates_undone_ = false;
1151 std::vector<TfLiteDelegate*> delegates_to_apply;
1152 delegates_applied_.swap(delegates_to_apply);
1153 for (auto* delegate : delegates_to_apply) {
1154 TF_LITE_ENSURE_STATUS(ModifyGraphWithDelegate(delegate));
1155 }
1156 return kTfLiteOk;
1157}
1158
1159TfLiteStatus Subgraph::EnsureMemoryAllocations() {
1160 if (memory_planner_) {

Callers

nothing calls this directly

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected