Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for releases (0.21 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      }
    
      // Releases the cleanup function instead of running it.
      // Hint: use c.release()() to run early.
      F release() {
        released_ = true;
        return std::move(f_);
      }
    
      bool is_released() const { return released_; }
    
     private:
      static_assert(!std::is_reference<F>::value, "F must not be a reference");
    
      bool released_ = false;
      F f_;
    };
    
    template <int&... ExplicitParameterBarrier, typename F,
    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)
  2. 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)
  3. 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)
  4. 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.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/c/eager/tfe_context_internal.h

    // Wraps a pointer to a context implementation.
    //
    // WARNING: Since the underlying object could be ref-counted a user of this
    // interface cannot destruct the underlying context object. Instead, call
    // TFE_DeleteContext who calls Release() on the context pointer and deletes
    // the TFE_Context structure.
    typedef struct TFE_Context TFE_Context;
    
    namespace tensorflow {
    
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionContext, TFE_Context);
    
    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)
  10. tensorflow/c/eager/tape.h

    // Accumulate runs the gradient computation immediately.
    //
    // Keeps references to Tensors watched via Watch and computed in Accumulate
    // corresponding to output_tensors, and releases these references in its
    // destructor. However, waiting until the destructor runs loses the memory
    // efficiency of forward-mode autodiff. Instead, language bindings should call
    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)
Back to top