- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for clear (0.18 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// // If `is_async=false` (constructor argument), `cancellation_manager` must // live until `Join` finishes. If `is_async=true` it must live until `Join` is // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be // used to cancel all other operations if any fails. // // Set step_id to configure the step id used for rendezvous creation. step id
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
bool reset_context, int keep_alive_secs, int64_t init_timeout_in_ms, int retries, bool clear_existing_contexts = false) = 0; // Initializes context for the local worker and no contexts will be created // for remote workers. Currently this only works for resetting context.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
} compute_func(key, value, status); if (TF_GetCode(status) == TF_OK) { InsertLocked(key, *value); } } /// Clear the cache. void Clear() { absl::MutexLock lock(&mu_); cache_.clear(); lru_list_.clear(); } /// Accessors for cache parameters. uint64_t max_age() const { return max_age_; } size_t max_entries() const { return max_entries_; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// clear the op_tape. We can clear the tape because ownership of // backward functions that will be used for gradient computation // has been transferred to `result`. for (const auto& op_pair : *op_tape) { op_pair.second.backward_function_deleter( op_pair.second.backward_function); } op_tape->clear(); } return result; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_operation.h
namespace tensorflow { class ImmediateExecutionContext; class AbstractOpAttrs; // Abstract interface to an operation. class ImmediateExecutionOperation : public AbstractOperation { public: virtual void Clear() = 0; // Returns the inputs of this op. virtual absl::Span<ImmediateExecutionTensorHandle* const> GetInputs() const = 0; virtual Status SetInput(size_t index,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
// * TF_Status holds error information. It is an object type // and therefore is passed around as a pointer to an opaque // struct as mentioned above. // * Every call that has a TF_Status* argument clears it on success // and fills it with error info on failure. // * unsigned char is used for booleans (instead of the 'bool' type). // In C++ bool is a keyword while in C99 bool is a macro defined
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/c_api_experimental.h
TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout( TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len, int64_t init_timeout_in_ms, TF_Status* status, bool clear_existing_contexts); // Set server def with retries and timeout. This is helpful for fault-tolerant // initial connection in high-preemption environments, such as // ParameterServerStrategy training.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern void TFE_DeleteContext(TFE_Context* ctx); TF_CAPI_EXPORT extern TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status); // Clears the internal caches in the TFE context. Useful when reseeding random // ops. TF_CAPI_EXPORT extern void TFE_ContextClearCaches(TFE_Context* ctx); // Sets a thread-local device placement policy. After this call, other calls to
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/eager/immediate_execution_context.h
// TODO(tfrt-devs): Figure out a way to deprecate following features after // migrated to TFRT. //===--------------------------------------------------------------------===// // Clear pending nodes in thread executors and kernel caches. virtual void ClearCachesAndThreadExecutors() = 0; // Initialize the step resource container for a training step. This is used
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/experimental/next_pluggable_device/c_api.h
// `ctx`. The `tensorflow::PluginResource` wraps a resource by plugin (as a // opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed // for ResourceMgr to clean up the resource. `status` will be set. TF_CAPI_EXPORT extern void TF_CreatePluginResource( TF_OpKernelContext* ctx, const char* container_name, const char* plugin_resource_name, void* plugin_resource,
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0)