Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for deallocator (0.07 seconds)

  1. tensorflow/c/eager/c_api.cc

        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status) {
      tensorflow::Device* device = nullptr;
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      status->status = context->FindDeviceFromName(device_name, &device);
      if (!status->status.ok()) {
        deallocator(data, len, deallocator_arg);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
        TFE_Context* ctx, const char* device_name, TF_DataType, const int64_t* dims,
        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    // Retrieves the address space (i.e. job, replia, task) of the local host and
    // saves it in the buffer.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Click Count (1)
  3. tensorflow/c/c_api_test.cc

      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
      // Create a TF_Operation with the attribute t_in
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  4. tensorflow/c/eager/custom_device_testutil.cc

      auto dtype = TFE_TensorHandleDataType(t->tensor);
      TFE_CustomDeviceTensorHandleMethods handle_methods;
      handle_methods.num_dims = &LoggedTensorNumDims;
      handle_methods.dim = &LoggedTensorDim;
      handle_methods.deallocator = &LoggedTensorDeallocator;
      return TFE_NewCustomDeviceTensorHandle(context, logging_device_name.c_str(),
                                             dtype, t.release(), handle_methods,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Dec 20 23:30:21 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. tensorflow/c/c_api.h

    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    // * Backing store for tensor memory has an associated deallocation
    //   function.  This deallocation function will point to client code
    //   for tensors populated by the client.  So the client can do things
    //   like shadowing a numpy array.
    // * We do not provide TF_OK since it is not strictly necessary and we
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            this.discover = discover;
        }
    
        @Override
        protected void configure() {
            Provider<PlexusContainer> containerProvider = getProvider(PlexusContainer.class);
            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
            bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

         */
        public void recordMemoryRegionAllocated() {
            memoryRegionsAllocated.incrementAndGet();
            memoryRegionsActive.incrementAndGet();
        }
    
        /**
         * Record memory region deallocation
         */
        public void recordMemoryRegionReleased() {
            memoryRegionsActive.decrementAndGet();
        }
    
        /**
         * Get total number of RDMA read operations
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. src/main/resources/esclient.xml

    		<property name="settings">
    			{"http.cors.enabled":"true",
    			 "http.cors.allow-origin":"*",
    			 "discovery.type":"single-node",
    			 "cluster.allocator.existing_shards_allocator.batch_enabled":"true",
    			 <!--
    			 "node.name":"search_engine",
    			 "discovery.seed_hosts":"search_engine",
    			 "cluster.initial_cluster_manager_nodes":"search_engine",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

        // Using @Weak is necessary to avoid retain-cycles between Node instances on iOS,
        // which would cause memory leaks when non-empty HashBiMap with cyclic Node
        // instances is deallocated.
        @Nullable Node<K, V> nextInKToVBucket;
        @Weak @Nullable Node<K, V> nextInVToKBucket;
    
        @Weak @Nullable Node<K, V> nextInKeyInsertionOrder;
        @Weak @Nullable Node<K, V> prevInKeyInsertionOrder;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.36.md

    - DRA BindingConditions: when the DRABindingConditions feature was enabled, reusing the same claim among different pods may have caused a panic in the scheduler when deallocation happens in parallel (a rare race condition). ([#137371](https://github.com/kubernetes/kubernetes/pull/137371), [@pohly](https://github.com/pohly)) [SIG Node, Scheduling and Testing]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
Back to Top