- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for num_outputs (0.1 sec)
-
tensorflow/c/eager/c_api_unified_experimental.cc
void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); } void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear(); unwrap(o)->outputs.resize(num_outputs); } int TF_OutputListNumOutputs(TF_OutputList* o) { return unwrap(o)->outputs.size(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
} 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); } for (int i = 0; i < *num_outputs; ++i) {
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/eager/c_api_unified_experimental.h
TF_OutputList* TF_NewOutputList(); void TF_DeleteOutputList(TF_OutputList* o); // Prepare tracing to the expected number of output for an operation. void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status*); // Return the number of outputs in the list. int TF_OutputListNumOutputs(TF_OutputList* o); // Return the `i`th output in the list. TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/SynonymTests.java
return requestBody; } @Override protected Map<String, Object> getUpdateMap() { final Map<String, Object> updateMap = new HashMap<>(); updateMap.put("outputs", "new_outputs"); return updateMap; } @Test void crudTest() { testCreate(); testRead(); testUpdate(); testDelete(); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
sum_dims.reset(sum_dims_raw); } // Reduce sum the output on all dimensions. TF_RETURN_IF_ERROR(ops::Sum(ctx, model_out.get(), sum_dims.get(), &outputs[0], /*keep_dims=*/false, "sum_output")); return absl::OkStatus(); } // ========================= End Helper Functions============================== absl::Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0)