Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 1,250 for add1 (0.03 seconds)

  1. tensorflow/c/c_api.h

    // https://www.tensorflow.org/code/tensorflow/cc/gradients/README.md
    // for instructions on how to add C++ more gradients.
    TF_CAPI_EXPORT void TF_AddGradients(TF_Graph* g, TF_Output* y, int ny,
                                        TF_Output* x, int nx, TF_Output* dx,
                                        TF_Status* status, TF_Output* dy);
    
    // Adds operations to compute the partial derivatives of sum of `y`s w.r.t `x`s,
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          }
          throw ee;
        } finally {
          for (Future<T> f : futures) {
            f.cancel(true);
          }
        }
      }
    
      /**
       * Submits the task and adds a listener that adds the future to {@code queue} when it completes.
       */
      @J2ktIncompatible
      @GwtIncompatible // TODO
      private static <T extends @Nullable Object> ListenableFuture<T> submitAndAddQueueListener(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  3. internal/handlers/proxy.go

    	raddr, _, _ := net.SplitHostPort(addr)
    	if raddr == "" {
    		return addr
    	}
    	return raddr
    }
    
    // GetSourceIP retrieves the IP from the request headers
    // and falls back to r.RemoteAddr when necessary.
    func GetSourceIP(r *http.Request) string {
    	addr := GetSourceIPRaw(r)
    	if strings.ContainsRune(addr, ':') {
    		return "[" + addr + "]"
    	}
    	return addr
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. cmd/tier.go

    	if t, ok := config.Tiers[tierName]; ok {
    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    }
    
    // Add adds tier to config if it passes all validations.
    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/net/InetAddresses.java

      public static InetAddress decrement(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0x00) {
          addr[i] = (byte) 0xff;
          i--;
        }
    
        checkArgument(i >= 0, "Decrementing %s would wrap.", address);
    
        addr[i]--;
        return bytesToInetAddress(addr, null);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(true)
                .add(SHORT_NAME, (byte) 1)
                .add(LONG_NAME, (byte) 2)
                .addValue((byte) 3)
                .add(SHORT_NAME, 'A')
                .add(LONG_NAME, 'B')
                .addValue('C')
                .add(SHORT_NAME, (short) 4)
                .add(LONG_NAME, (short) 5)
                .addValue((short) 6)
                .add(SHORT_NAME, 7)
                .add(LONG_NAME, 8)
                .addValue(9)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .add("field27", Optional.absent())
                // Arrays
                .add("field31", new Object[] {"!!!"})
                .add("field32", new boolean[0])
                .add("field33", new byte[0])
                .add("field34", new char[0])
                .add("field35", new short[0])
                .add("field36", new int[0])
                .add("field37", new long[0])
                .add("field38", new float[0])
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/net/InetAddresses.java

      public static InetAddress decrement(InetAddress address) {
        byte[] addr = address.getAddress();
        int i = addr.length - 1;
        while (i >= 0 && addr[i] == (byte) 0x00) {
          addr[i] = (byte) 0xff;
          i--;
        }
    
        checkArgument(i >= 0, "Decrementing %s would wrap.", address);
    
        addr[i]--;
        return bytesToInetAddress(addr, null);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        queryBuilder.add(Range.<Integer>all());
    
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType boundType : BoundType.values()) {
            queryBuilder.add(Range.upTo(i, boundType));
            queryBuilder.add(Range.downTo(i, boundType));
          }
          queryBuilder.add(Range.singleton(i));
          queryBuilder.add(Range.openClosed(i, i));
          queryBuilder.add(Range.closedOpen(i, i));
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        ms.add("foo");
        ms.add("a");
        ms.add("bar");
        ms.add("b");
        ms.add("c");
    
        assertEquals(2, ms.count("bar"));
        assertEquals(3, ms.count("b"));
    
        Multiset<String> ms2 = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms2.add("cat", 2);
        ms2.add("x", 3);
    
        assertEquals(ms, ms2);
        assertEquals(ms2, ms);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top