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

Method ResetOutputValues

tensorflow/c/c_test_util.cc:544–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542}
543
544void CSession::ResetOutputValues() {
545 for (size_t i = 0; i < output_values_.size(); ++i) {
546 if (output_values_[i] != nullptr) TF_DeleteTensor(output_values_[i]);
547 }
548 output_values_.clear();
549}

Callers

nothing calls this directly

Calls 3

TF_DeleteTensorFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected