- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Release (0.24 sec)
-
tensorflow/c/eager/tfe_op_internal.h
// Wraps a pointer to an operation implementation. // // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying operation object. Instead, call // TFE_DeleteOp who calls Release() on the operation pointer and deletes // the TFE_Op structure. typedef struct TFE_Op TFE_Op; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionOperation, TFE_Op);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/tfe_tensorhandle_internal.h
// // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying handle object. Instead, call // TFE_DeleteTensorHandle who calls Release() on the handle pointer and deletes // the TFE_TensorHandle structure. typedef struct TFE_TensorHandle TFE_TensorHandle; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionTensorHandle,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
~ImmediateExecutionOperation() override {} }; namespace internal { struct ImmediateExecutionOperationDeleter { void operator()(ImmediateExecutionOperation* p) const { if (p != nullptr) { p->Release(); } } }; } // namespace internal using ImmediateOpPtr = std::unique_ptr<ImmediateExecutionOperation, internal::ImmediateExecutionOperationDeleter>;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.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 its own // lifetime through ref counting. Thus clients MUST call Release() in order to // destroy an instance of this class. virtual void Release() = 0;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_context.h
namespace tensorflow { namespace gradients { class TapeContext : public AbstractContext { public: explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&); void Release() override; TapeOperation* CreateOperation() override; Status RegisterFunction(AbstractFunction*) override; Status RemoveFunction(const string& func) override; // For LLVM style RTTI.
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
TF_Status*); // Creates a new TensorHandle from memory residing in the physical device // device_name. Takes ownership of the memory, and will call deleter to release // it after TF no longer needs it or in case of error. // // Custom devices must use TFE_NewCustomDeviceTensorHandle instead. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
namespace tensorflow { namespace gradients { class TapeOperation : public AbstractOperation { public: explicit TapeOperation(AbstractOperation*, Tape*, const GradientRegistry&); void Release() override; Status Reset(const char* op, const char* raw_device_name) override; const string& Name() const override; const string& DeviceName() const override; Status SetDeviceName(const char* name) override;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 3.7K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// Sets its output argument to a summary of the values of this tensor on every // component device. Status SummarizeValue(std::string& summary); std::vector<TensorHandlePtr> release_tensors() { return std::move(tensors_); } std::vector<TFE_TensorHandle*> tensors() const { std::vector<TFE_TensorHandle*> result; result.reserve(tensors_.size());
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// deleted, `DeleteGradient` should be called as soon as possible to free the // (now inaccessible) corresponding JVPs, but ForwardAccumulator's destructor // will release remaining references. // // This method is not thread-safe (and in general ForwardAccumulator is not // thread-safe). Status Accumulate( const string& op_type, const std::vector<TapeTensor>& input_tensors,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
Cleanup(Cleanup<G>&& src) // NOLINT : released_(src.is_released()), f_(src.release()) {} // Assignment to a Cleanup object behaves like destroying it // and making a new one in its place, analogous to unique_ptr // semantics. Cleanup& operator=(Cleanup&& src) { // NOLINT if (!released_) f_(); released_ = src.released_; f_ = src.release(); return *this; } ~Cleanup() {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0)