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

Method SetOutputs

tensorflow/c/c_test_util.cc:479–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) {
480 ResetOutputValues();
481 outputs_.clear();
482 for (TF_Operation* o : outputs) {
483 outputs_.emplace_back(TF_Output{o, 0});
484 }
485 output_values_.resize(outputs_.size());
486}
487
488void CSession::SetOutputs(const std::vector<TF_Output>& outputs) {
489 ResetOutputValues();

Callers 7

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

Calls 4

clearMethod · 0.45
emplace_backMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected