- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for output_tensor (0.17 sec)
-
tensorflow/c/eager/tape.h
} bool found = false; for (int j = 0; j < op_it->second.output_tensor_info.size(); ++j) { if (op_it->second.output_tensor_info[j].GetID() == id) { found = true; Gradient* ones_like = nullptr; TF_RETURN_IF_ERROR(vspace.BuildOnesLike( op_it->second.output_tensor_info[j], &ones_like)); (*result)[id].push_back(ones_like); break;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/c_test_util.h
void SetOutputs(const std::vector<TF_Output>& outputs); void SetTargets(std::initializer_list<TF_Operation*> targets); void Run(TF_Status* s); void CloseAndDelete(TF_Status* s); TF_Tensor* output_tensor(int i) { return output_values_[i]; } TF_Session* mutable_session() { return session_; } private: void DeleteInputValues(); void ResetOutputValues(); TF_Session* session_;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
csession->SetOutputs(grad_outputs_vec); csession->Run(s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_Tensor* out0 = csession->output_tensor(0); TF_Tensor* out1 = csession->output_tensor(1); std::vector<TF_Output> expected_grad_outputs_vec; expected_grad_outputs_vec.assign(expected_grad_outputs, expected_grad_outputs + 2);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_api.cc
const std::vector<std::pair<string, Tensor>>& input_pairs, // Output tensors const std::vector<string>& output_tensor_names, TF_Tensor** c_outputs, // Target nodes const std::vector<string>& target_oper_names, TF_Buffer* run_metadata, TF_Status* status) { const int noutputs = output_tensor_names.size(); std::vector<Tensor> outputs(noutputs); Status result; if (handle == nullptr) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
csession.Run(s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Check results for (int i = 0; i < expected_results.size(); ++i) { TF_Tensor* out = csession.output_tensor(i); ASSERT_TRUE(out != nullptr); EXPECT_EQ(TF_INT32, TF_TensorType(out)); EXPECT_EQ(1, TF_NumDims(out)); CompareInt32Tensor(expected_results[i], out); } }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/c_api_function.cc
std::vector<tensorflow::OutputTensor> input_tensors; std::unordered_map<const Node*, std::vector<int>> input_nodes; status->status = tensorflow::ProcessInputs(fn_body, fn_name, ninputs, inputs, &input_tensors, &input_nodes); if (TF_GetCode(status) != TF_OK) return nullptr; // Process outputs. std::vector<tensorflow::OutputTensor> output_tensors;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
RELEASE.md
* `tflite::Interpreter::signature_inputs` * `tflite::Interpreter::signature_outputs` * `tflite::Interpreter::input_tensor_by_signature` * `tflite::Interpreter::output_tensor_by_signature` * Similarly, the following signature runner functions in the TF Lite C API are no longer considered experimental: * `TfLiteInterpreterGetSignatureCount`
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)