Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 211 for refcount (0.19 sec)

  1. pkg/kubelet/util/manager/manager.go

    	// in the implementations and effectively treated as refcounted.
    	AddReference(namespace, name string, referencedFrom types.UID)
    	// DeleteReference deletes a reference from referencedFrom to the object from the store.
    	// Note that object should be deleted only when there was a
    	// corresponding Delete call for each of Add calls (effectively
    	// when refcount of every referenceFrom was reduced to zero).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 02:22:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_tensor_handle.h

    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Abstract interface to a Tensor handle in either tracing or immediate
    // execution mode.
    class AbstractTensorHandle : public core::RefCounted {
     protected:
      enum AbstractTensorHandleKind { kGraph, kMlir, kEager, kTfrt, kCustomDevice };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:30:36 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_compile_util.cc

    #include "tensorflow/core/framework/device_base.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/resource_mgr.h"
    #include "tensorflow/core/lib/core/refcount.h"
    #include "tensorflow/core/platform/status.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    
    using PjRtDeviceCompiler =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/variable_info.h

    namespace tensorflow {
    
    // Information about the state of a variable passed as input to the _XlaCompile
    // and _XlaRun operators.  Unlocks the resource variable and decrements its
    // refcount on destruction.
    class VariableInfo {
     public:
      explicit VariableInfo(int index, absl::string_view name, Var* var,
                            const std::optional<ManagedStackTrace>&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.h

      //  captures - The captured TensorHandles associated with this
      //             FlatTensorFunction. FlatTensorFunction will participate in
      //             ownership of the handles (it explicitly increments the refcount
      //             of each handle, and will decrement them on destruction).
      //  ctx      - A handle to the Tensorflow runtime. This MUST be non-null and
      //             outlive TFConcreteFunction.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 21:03:41 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      let description = [{
        This kernel performs deep copy on the input tensor if it is small, to avoid
        atomic contention on its refcount.
    
        Note that this kernel always create a new AsyncValue for each result to
        avoid atomic contention on AsyncValue's refcount.
      }];
    
      let arguments = (ins
        TFTensorType:$operand
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.cc

          tape_(tape),
          registry_(registry) {
      // TODO(b/172003047): Consider making AbstractOperation RefCounted.
      // parent_op_->Ref();
    }
    void TapeOperation::Release() {
      // TODO(srbs): Change to Unref().
      delete this;
    }
    TapeOperation::~TapeOperation() {
      // TODO(b/172003047): Consider making AbstractOperation RefCounted.
      // parent_op->Unref();
    }
    Status TapeOperation::Reset(const char* op, const char* raw_device_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 06:16:45 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/tensor_testutil.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/kernels/ops_testutil.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/tfrt/common/create_pjrt_client_util.h"
    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    #include "tsl/framework/allocator.h"
    #include "tsl/lib/core/status_test_util.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  9. src/syscall/ztypes_darwin_amd64.go

    	Pad_cgo_0 [2]byte
    }
    
    type IfmaMsghdr2 struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Addrs     int32
    	Flags     int32
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Refcount  int32
    }
    
    type RtMsghdr struct {
    	Msglen    uint16
    	Version   uint8
    	Type      uint8
    	Index     uint16
    	Pad_cgo_0 [2]byte
    	Flags     int32
    	Addrs     int32
    	Pid       int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/cc/experimental/base/public/tensor.h

      //  len - The length (in bytes) of `data`
      //  deleter - A std::function to be called when the Tensor no longer needs the
      //            memory in `data`. This can be used to free `data`, or
      //            perhaps decrement a refcount associated with `data`, etc.
      //  status - Set to OK on success and an error on failure.
      // Returns:
      // If an error occurred, status->ok() will be false, and the returned
      // Tensor must not be used.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 28 20:10:33 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top