- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for finalize (0.2 sec)
-
tensorflow/c/eager/c_api_unified_experimental.cc
"Only TracingContext can be converted into a function.")); return nullptr; } tsl::Set_TF_Status_from_Status(s, tracing_ctx->Finalize(unwrap(outputs), &func)); TF_DeleteExecutionContext(ctx); return wrap(func); } TF_AbstractTensor* TF_AddFunctionParameter(TF_ExecutionContext* func,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
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/eager/unified_api_testutil.cc
} else { null_indices.insert(i); } } TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(func_ctx.get()) ->Finalize(&output_list, &func)); scoped_func.reset(func); for (auto output : output_list.outputs) { output->Unref(); } TF_RETURN_IF_ERROR(ctx->RegisterFunction(func)); }
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/eager/c_api_unified_experimental_graph.cc
"Unable to cast input to GraphTensor"); } inputs_.push_back(t->output_); *output = tensorflow::down_cast<TracingTensorHandle*>(outputs[0]); return absl::OkStatus(); } Status Finalize(OutputList* outputs, AbstractFunction** f) override { std::vector<TF_Output> graph_outputs; graph_outputs.reserve(outputs->outputs.size()); for (auto* abstract_output : outputs->outputs) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Extract the resulting tensor. add_output2 = TF_OutputListGet(add_outputs, 0); TF_DeleteOutputList(add_outputs); } TF_DeleteAbstractTensor(arg0); TF_DeleteAbstractTensor(arg1); // Finalize the function by providing the returned values. TF_AbstractFunction* func; { // We want to return the output of both add operations, create a new list // and populate it.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); params->body_outputs[0] = {add2, 0}; params->body_outputs[1] = params->body_inputs[1]; // Finalize while loop TF_FinishWhile(params.get(), s_, &outputs[0]); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); } // Define function, use it in graph, and run
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)