- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for TF_Function (0.3 sec)
-
tensorflow/c/eager/c_api.h
// TFE_Execute by creating an op with the same name as the function. TF_CAPI_EXPORT extern void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function, TF_Status* status); // Removes a function from the context. Once removed, you can no longer
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 22.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
if (ret) ret = node_def->ParseFromArray(buffer->data, buffer->length); TF_DeleteBuffer(buffer); TF_DeleteStatus(s); return ret; } bool GetFunctionDef(TF_Function* func, tensorflow::FunctionDef* func_def) { TF_Status* s = TF_NewStatus(); TF_Buffer* buffer = TF_NewBuffer(); TF_FunctionToFunctionDef(func, buffer, s); bool ret = TF_GetCode(s) == TF_OK;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TF_AddInput(id_descr, {arg, 0}); TF_Operation* id = TF_FinishOperation(id_descr, status); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); TF_Output input{arg, 0}; TF_Output output{id, 0}; TF_Function* fn = TF_GraphToFunction(function_graph, "ident", 0, 1, &id, 1, &input, 1, &output, nullptr, nullptr, "test", status); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
if (TF_GetCode(status) != TF_OK) return; TF_Operation* operations[]{placeholder_op, reduce_op}; TF_Output y{reduce_op, 0}; const char* output_name = "y"; std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)> function( TF_GraphToFunction( /* fn_body */ body.get(), /* fn_name */ function_name, /* append_hash_to_fn_name */ 0, /* num_opers */ 2,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0)