- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for fn_outputs (0.43 sec)
-
tensorflow/c/eager/unified_api_testutil.cc
std::vector<AbstractTensorHandle*> fn_outputs(retvals); TF_RETURN_IF_ERROR(fn_op->Execute( absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()), &retvals)); int skipped_indices = 0; for (int i = 0; i < outputs.size(); i++) { if (!null_indices.contains(i)) { outputs[i] = fn_outputs[i - skipped_indices]; } else { skipped_indices += 1;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
return absl::OkStatus(); } // Converts `noutputs` and `outputs` into `outputs_tensors` and does various // checks while doing so. Status ProcessOutputs(const TF_Graph* fn_body, const char* fn_name, int noutputs, const TF_Output* outputs, std::vector<OutputTensor>* output_tensors) TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) { output_tensors->reserve(noutputs); for (int i = 0; i < noutputs; ++i) {
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) -
tensorflow/c/c_api.cc
session->graph->mu.unlock(); } } return true; } } // namespace tensorflow static void TF_Run_Setup(int noutputs, TF_Tensor** c_outputs, TF_Status* status) { status->status = absl::OkStatus(); for (int i = 0; i < noutputs; ++i) { c_outputs[i] = nullptr; } } // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE.
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.h
// the "[a-z][a-z0-9_]*" pattern for operation argument names. // `inputs` cannot contain the same tensor twice. // noutputs - number of elements in `outputs` array // outputs - array of TF_Outputs that specify the outputs of the function. // If `noutputs` is zero (the function returns no outputs), `outputs` // can be null. `outputs` can contain the same tensor more than once.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/c_api_experimental.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
grad_inputs[0] = TF_Output{grad_inputs_op, 0}; TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs, ninputs, grad_inputs, s_, grad_outputs); } else { TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs, ninputs, nullptr, s_, grad_outputs); } }
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/eager/parallel_device/parallel_device_test.cc
/* fn_body */ body.get(), /* fn_name */ function_name, /* append_hash_to_fn_name */ 0, /* num_opers */ 2, /* opers */ operations, /* ninputs */ 1, /* inputs */ &x, /* noutputs */ 1, /* outputs */ &y, /* output_names */ &output_name, /* opts */ nullptr, /* description */ "", /* status */ status), TF_DeleteFunction); if (TF_GetCode(status) != TF_OK) return;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1)