- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for op_outputs (0.06 sec)
-
tensorflow/c/eager/custom_device_testutil.cc
} if (TF_GetCode(s) != TF_OK) return; } std::vector<TFE_TensorHandle*> op_outputs(*num_outputs); TFE_Execute(op, op_outputs.data(), num_outputs, s); TFE_DeleteOp(op); if (TF_GetCode(s) != TF_OK) return; std::vector<TFE_TensorHandle*> unwrapped_outputs; unwrapped_outputs.reserve(op_outputs.size()); for (auto* handle : op_outputs) { unwrapped_outputs.push_back(handle); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Mar 03 20:47:31 UTC 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
if (new_node == nullptr) continue; parent->name_map[new_node->name()] = new_node; } // Populate 'outputs'. DCHECK_LE(loop_outputs.size(), num_loop_vars); for (int i = 0; i < loop_outputs.size(); ++i) { outputs[i] = {ToOperation(loop_outputs[i].node()), loop_outputs[i].index()}; } } } // namespace #endif // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
TF_RETURN_IF_ERROR( RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function)); AbstractTensorHandlePtr fPlus(f_outputs[0]); // Get f(theta - eps): theta_inputs[input_index] = thetaMinus.get(); TF_RETURN_IF_ERROR( RunAndMaybeSum(ctx, forward, theta_inputs, f_outputs, use_function)); AbstractTensorHandlePtr fMinus(f_outputs[0]);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
return; } else if (execution_state_ == ExecutionState::kReadyToExecute) { // op_outputs_ may have been std::moved op_outputs_ = std::vector<TensorHandlePtr>(); Execute(context_, operation_name_, std::move(op_inputs_), attributes_, expected_max_outputs_, &op_outputs_, status_.get()); execution_state_ = ExecutionState::kHasResult; } }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_OutputListSetNumOutputs(mm_outputs, 1, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); TF_ExecuteOperation(fn_op, 1, &input_t, mm_outputs, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); ASSERT_EQ(1, TF_OutputListNumOutputs(mm_outputs)); TF_AbstractTensor* final_result = TF_OutputListGet(mm_outputs, 0); TFE_TensorHandle* final =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
std::vector<TF_Output> tf_outputs(inputs.size()); for (int i = 0; i < inputs.size(); i++) { GraphTensor* t = dyn_cast<GraphTensor>(inputs[i]); if (!t) { return tensorflow::errors::InvalidArgument( "Unable to cast input to GraphTensor"); } tf_outputs[i] = t->output_; } TF_AddInputList(op_.get(), tf_outputs.data(), tf_outputs.size());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 15.7K bytes - Viewed (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
if (executionMode == ExecutionMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS) { File[] psOutputs = rootProjectDir.listFiles((__, name) -> name.endsWith(".psoutput") || name.endsWith(".threaddump")); if (psOutputs != null) { Stream.of(psOutputs).forEach(File::delete); } } } static void pkill(String pid) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// in it will become part of the function. In particular, no // automatic skipping of dummy input operations is performed. // ninputs - number of elements in `inputs` array // inputs - array of TF_Outputs that specify the inputs to the function. // If `ninputs` is zero (the function takes no inputs), `inputs` // can be null. The names used for function inputs are normalized
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)