Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for erase (0.18 sec)

  1. tensorflow/c/eager/tape.h

      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
      const int64_t op_id = tensor_op_it->second;
      if (op_id == -1) {
        // Do not delete watched tensors.
        return;
      }
      tensor_tape_.erase(tensor_op_it);
      auto op_it = op_tape_.find(op_id);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/collect/ArrayTable.java

       * are valid.
       *
       * @param rowKey row key of mapping to be erased
       * @param columnKey column key of mapping to be erased
       * @return the value previously associated with the keys, or {@code null} if no mapping existed
       *     for the keys
       */
      @CanIgnoreReturnValue
      @CheckForNull
      public V erase(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertEquals((Character) 'b', table.erase("bar", 1));
        assertNull(table.get("bar", 1));
        assertEquals(9, table.size());
        assertNull(table.erase("bar", 1));
        assertNull(table.erase("foo", 2));
        assertNull(table.erase("dog", 1));
        assertNull(table.erase("bar", 5));
        assertNull(table.erase(null, 1));
        assertNull(table.erase("bar", null));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ArrayTableTest.java

        assertEquals((Character) 'b', table.erase("bar", 1));
        assertNull(table.get("bar", 1));
        assertEquals(9, table.size());
        assertNull(table.erase("bar", 1));
        assertNull(table.erase("foo", 2));
        assertNull(table.erase("dog", 1));
        assertNull(table.erase("bar", 5));
        assertNull(table.erase(null, 1));
        assertNull(table.erase("bar", null));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayTable.java

       * are valid.
       *
       * @param rowKey row key of mapping to be erased
       * @param columnKey column key of mapping to be erased
       * @return the value previously associated with the keys, or {@code null} if no mapping existed
       *     for the keys
       */
      @CanIgnoreReturnValue
      @CheckForNull
      public V erase(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils.go

    type VersionPurgeStatusType string
    
    const (
    	// Pending - versioned delete replication is pending.
    	Pending VersionPurgeStatusType = "PENDING"
    
    	// Complete - versioned delete replication is now complete, erase version on disk.
    	Complete VersionPurgeStatusType = "COMPLETE"
    
    	// Failed - versioned delete replication failed.
    	Failed VersionPurgeStatusType = "FAILED"
    )
    
    // Empty returns true if purge status was not set.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  8. tensorflow/c/c_api.cc

      status->status = absl::OkStatus();
      if (s == nullptr) return;
      TF_Graph* const graph = s->graph;
      if (graph != nullptr) {
        graph->mu.lock();
        graph->sessions.erase(s);
        const bool del = graph->delete_requested && graph->sessions.empty();
        graph->mu.unlock();
        if (del) delete graph;
      }
      delete s->session;
      delete s;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top