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

Method DeleteInputValues

tensorflow/c/c_test_util.cc:537–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537void CSession::DeleteInputValues() {
538 for (size_t i = 0; i < input_values_.size(); ++i) {
539 TF_DeleteTensor(input_values_[i]);
540 }
541 input_values_.clear();
542}
543
544void CSession::ResetOutputValues() {
545 for (size_t i = 0; i < output_values_.size(); ++i) {

Callers

nothing calls this directly

Calls 3

TF_DeleteTensorFunction · 0.85
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected