- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ResetOutputValues (0.09 sec)
-
tensorflow/c/c_test_util.cc
} void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) { ResetOutputValues(); outputs_.clear(); for (TF_Operation* o : outputs) { outputs_.emplace_back(TF_Output{o, 0}); } output_values_.resize(outputs_.size()); } void CSession::SetOutputs(const std::vector<TF_Output>& outputs) { ResetOutputValues(); outputs_ = outputs; output_values_.resize(outputs_.size()); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.h
TF_Tensor* output_tensor(int i) { return output_values_[i]; } TF_Session* mutable_session() { return session_; } private: void DeleteInputValues(); void ResetOutputValues(); TF_Session* session_; std::vector<TF_Output> inputs_; std::vector<TF_Tensor*> input_values_; std::vector<TF_Output> outputs_; std::vector<TF_Tensor*> output_values_;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 09 01:06:53 UTC 2018 - 6K bytes - Viewed (0)