- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for Manager (0.24 sec)
-
tensorflow/c/eager/c_api_experimental.h
// Associates the given `cancellation_manager` with `op`, so that invoking // `TFE_CancellationManagerStartCancel(cancellation_manager)` will cancel the // execution of `op`. typedef struct TFE_CancellationManager TFE_CancellationManager; TF_CAPI_EXPORT extern void TFE_OpSetCancellationManager( TFE_Op* op, TFE_CancellationManager* cancellation_manager, TF_Status* status);
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/parallel_device/parallel_device_lib.h
// re-use a thread. std::vector<std::unique_ptr<DeviceThread>> device_threads_; // A cancellation manager to use if the caller does not provide one. When ops // are executed asynchronously this must outlive the queued op, so it can't be // function-local to Execute. mutable std::unique_ptr<CancellationManager> default_cancellation_manager_; }; // Contains a tuple of tensors, one on each of the `underlying_devices_` of the
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/parallel_device/parallel_device_lib_test.cc
CancellationManager cancellation_manager; parallel_device.StartExecute(context.get(), std::vector<ParallelTensor*>(), "VarHandleOp", TFE_OpGetAttrs(handle_op.get()), /*expected_max_outputs=*/1, cancellation_manager); auto outputs = parallel_device.Join(
C++ - Registered: Tue Apr 30 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.h
// 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. // TFE_Context must outlive all tensor handles created using it. In other // words, TFE_DeleteContext() must be called after all tensor handles have // been deleted (with TFE_DeleteTensorHandle). //
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/gradients/tape/tape_operation.cc
int* num_retvals) { TF_RETURN_IF_ERROR(parent_op_->Execute(retvals, num_retvals)); for (int i = 0; i < *num_retvals; i++) { // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs. forward_op_.outputs.push_back(retvals[i]); } // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
tensorflow::PluginResource* cc_resource_ptr = new tensorflow::PluginResource( plugin_resource, plugin_resource_name, delete_func); auto cc_status = cc_ctx->resource_manager()->Create<tensorflow::PluginResource>( container_name, plugin_resource_name, cc_resource_ptr); status->status = cc_status; } void TF_LookupOrCreatePluginResource(
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
ci/devinfra/docker_windows/Dockerfile
sdkmanager 'extras;google;usb_driver'; \ sdkmanager 'extras;google;webdriver'; \ sdkmanager 'extras;android;m2repository'; \ sdkmanager 'extras;intel;Hardware_Accelerated_Execution_Manager'; \ sdkmanager 'extras;m2repository;com;android;support;constraint;constraint-layout;1.0.0'; \ sdkmanager 'extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2'; \
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Aug 18 17:24:20 GMT 2023 - 13.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
#include "tensorflow/core/protobuf/error_codes.pb.h" #include "tensorflow/core/public/version.h" #if !defined(IS_MOBILE_PLATFORM) #include "tensorflow/core/common_runtime/eager/context_distributed_manager.h" #endif // !IS_MOBILE_PLATFORM using tensorflow::string; namespace { string DeviceName(const tensorflow::Device* d) { return (d == nullptr) ? "cpu:0" : d->name(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/eager/abstract_operation.h
// Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow // clients from directly destroying this object since it may manage it's own // lifetime through ref counting. Thus this must be allocated on the heap and // clients MUST call Release() in order to destroy an instance of this class. virtual void Release() = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
const GradientRegistry& registry) { TF_RETURN_IF_ERROR(op_->Execute(retvals, num_retvals)); for (int i = 0; i < *num_retvals; i++) { // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs. forward_op_->outputs.push_back(retvals[i]); } // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0)