- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for AddFunctionDef (0.19 sec)
-
tensorflow/c/eager/immediate_execution_context.h
// already exists. virtual Status AddFunctionDef(const FunctionDef& fdef) = 0; // Notifies about the function removal. virtual Status AddRemoveFunctionNotifier(const string& func, std::function<void()> notifier) = 0; // Same as `AddFunctionDef`, but additionally saves the `stack_traces` under
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
return; } tensorflow::mutex_lock l(g->mu); status->status = g->graph.AddFunctionDef(func->record->fdef(), func->record->stack_traces()); if (TF_GetCode(status) != TF_OK) return; if (!grad) return; status->status = g->graph.AddFunctionDef(grad->record->fdef(), grad->record->stack_traces());
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
{"final_op", "Id"}, {"subdiv_offsets", std::vector<int>()}}, /*dep=*/{"assert"}}, }); TF_ASSERT_OK(ContextFromInterface(unwrap(context.get())) ->AddFunctionDef(assert_and_collective)); std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> call_op( TFE_NewOp(context.get(), "AssertAndCollective", status.get()), TFE_DeleteOp);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
status->status = tensorflow::errors::InvalidArgument("Invalid FunctionDef proto"); return; } AnnotateEagerRuntimeConstructionContext(function_def); status->status = tensorflow::unwrap(ctx)->AddFunctionDef(function_def); } void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function, TF_Status* status) { auto fdef_or = function->record->mutable_fdef(); if (!fdef_or.ok()) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)