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

Method SetInputs

tensorflow/c/c_test_util.cc:469–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469void CSession::SetInputs(
470 std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs) {
471 DeleteInputValues();
472 inputs_.clear();
473 for (const auto& p : inputs) {
474 inputs_.emplace_back(TF_Output{p.first, 0});
475 input_values_.emplace_back(p.second);
476 }
477}
478
479void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) {
480 ResetOutputValues();

Callers 6

RunMethod · 0.45
RunTMethod · 0.45
RunMethod · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
RunMinTestFunction · 0.45

Calls 2

clearMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected