- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for destroy (0.22 sec)
-
tensorflow/c/experimental/grappler/grappler.h
TF_Buffer*, TF_Status*); // [Optional] // Destroy function for optimizer. If Create function is provided, destroy // function is must. void (*destroy_func)(void*); } TP_Optimizer; #define TP_OPTIMIZER_STRUCT_SIZE TF_OFFSET_OF_END(TP_Optimizer, destroy_func) typedef struct TP_OptimizerRegistrationParams { size_t struct_size;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// Initialize the step resource container for a training step. This is used // in current TF runtime. For tfrt, it is used by fallback op handler. virtual void StartStep() = 0; // Destroy the step resource container for a training step. virtual void EndStep() = 0; // Return the Eager Executor for current thread. Please note that Eager // Executor is only used in current TF but not in TFRT.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
int num_retvals = 1; TFE_Execute(op.get(), &var_handle, &num_retvals, status); if (TF_GetCode(status) != TF_OK) return nullptr; return new Variable(var_handle, type); } void Variable::Destroy(TFE_Context* context, TF_Status* status) { // Free the backing buffer for the variable. std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op( TFE_NewOp(context, "DestroyResourceOp", status), &TFE_DeleteOp);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
unsigned char enable); TF_CAPI_EXPORT extern void TFE_ContextOptionsSetDevicePlacementPolicy( TFE_ContextOptions*, TFE_ContextDevicePlacementPolicy); // Destroy an options object. TF_CAPI_EXPORT extern void TFE_DeleteContextOptions(TFE_ContextOptions*); // "Context" under which operations/functions are executed. It encapsulates // things like the available devices, resource manager etc.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler_test.cc
params->optimizer->struct_size = TP_OPTIMIZER_STRUCT_SIZE; params->optimizer->create_func = nullptr; params->optimizer->optimize_func = optimize_func; params->optimizer->destroy_func = nullptr; } TEST(Grappler, SuccessfulRegistration) { auto plugin_init = [](TP_OptimizerRegistrationParams* const params, TF_Status* const status) -> void {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0)