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

Method SetOutputs

tensorflow/lite/core/subgraph.cc:421–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421TfLiteStatus Subgraph::SetOutputs(std::vector<int> outputs) {
422 TF_LITE_ENSURE_OK(
423 &context_, CheckTensorIndices("outputs", outputs.data(), outputs.size()));
424 outputs_ = std::move(outputs);
425 return kTfLiteOk;
426}
427
428TfLiteStatus Subgraph::SetVariables(std::vector<int> variables) {
429 TF_LITE_ENSURE_OK(&context_, CheckTensorIndices("variables", variables.data(),

Callers 15

AddTensorsMethod · 0.45
InterpreterFp16Method · 0.45
InterpreterFp32Method · 0.45
InterpreterMultiNodeMethod · 0.45
ConstructGraphMethod · 0.45
BuildAddSubgraphMethod · 0.45
BuildMulSubgraphMethod · 0.45
BuildPadSubgraphMethod · 0.45
BuildIfSubgraphMethod · 0.45

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by 14

AddTensorsMethod · 0.36
InterpreterFp16Method · 0.36
InterpreterFp32Method · 0.36
InterpreterMultiNodeMethod · 0.36
ConstructGraphMethod · 0.36
BuildAddSubgraphMethod · 0.36
BuildMulSubgraphMethod · 0.36
BuildPadSubgraphMethod · 0.36
BuildIfSubgraphMethod · 0.36