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

Method SetInputs

tensorflow/lite/core/subgraph.cc:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414TfLiteStatus Subgraph::SetInputs(std::vector<int> inputs) {
415 TF_LITE_ENSURE_OK(&context_,
416 CheckTensorIndices("inputs", inputs.data(), inputs.size()));
417 inputs_ = std::move(inputs);
418 return kTfLiteOk;
419}
420
421TfLiteStatus Subgraph::SetOutputs(std::vector<int> outputs) {
422 TF_LITE_ENSURE_OK(

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