Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 206 for Sum (0.02 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      TensorHandlePtr parallel_value = CreatePerDeviceValues(
          context.get(), components, device_name, status.get());
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
      // Run a collective sum, so each component should now be the same.
      TensorHandlePtr reduced(
          CollectiveSum(context.get(), parallel_value.get(), 2, status.get()));
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

      // the assured concurrency value (ACV) --- the number of requests
      // that may be executing at a time --- for each such priority
      // level:
      //
      //             ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )
      //
      // bigger numbers of ACS mean more reserved concurrent requests (at the
      // expense of every other PL).
      // This field has a default value of 30.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      public void testToImmutableMapMerging() {
        Collector<Entry<String, Integer>, ?, ImmutableMap<String, Integer>> collector =
            toImmutableMap(Entry::getKey, Entry::getValue, Integer::sum);
        Equivalence<ImmutableMap<String, Integer>> equivalence =
            Equivalence.equals().<Entry<String, Integer>>pairwise().onResultOf(ImmutableMap::entrySet);
        CollectorTester.of(collector, equivalence)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  4. Makefile.core.mk

    # Base version of Istio image to use
    BASE_VERSION ?= master-2024-09-19T19-01-03
    ISTIO_BASE_REGISTRY ?= gcr.io/istio-release
    
    export GO111MODULE ?= on
    export GOPROXY ?= https://proxy.golang.org
    export GOSUMDB ?= sum.golang.org
    
    # If GOPATH is not set by the env, set it to a sane value
    GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd)
    export GOPATH
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 03 23:53:59 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

     * <Integer>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code IntStream} features (like {@link IntStream#sum}) using {@code stream()}
     *       instead of the awkward {@code stream().mapToInt(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Integer>}:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       * order.
       */
      @Override
      // TODO(kevinb): caveats about equivalence-relation?
      boolean equals(@CheckForNull Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * <pre>{@code
       * ((element == null) ? 0 : element.hashCode()) ^ count(element)
       * }</pre>
       *
       * <p>over all distinct elements in the multiset. It follows that a multiset and its entry set
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    	}
    	buf, err = madmin.EncryptData(secretKey, buf)
    	if err != nil {
    		c.Fatalf("unexpected encryption err: %v", err)
    	}
    
    	req.ContentLength = int64(len(buf))
    	sum := sha256.Sum256(buf)
    	req.Header.Set("X-Amz-Content-Sha256", hex.EncodeToString(sum[:]))
    	req.Body = io.NopCloser(bytes.NewReader(buf))
    	req = signer.SignV4(*req, accessKey, secretKey, "", "")
    
    	// 3.1 Execute the request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  8. tests/sql_builder_test.go

    		t.Error("Raw sql to update records")
    	}
    
    	DB.Exec("update users set age=? where name = ?", gorm.Expr("age * ? + ?", 2, 10), "jinzhu-raw")
    
    	var age int
    	DB.Raw("select sum(age) from users where name = ?", "jinzhu-raw").Scan(&age)
    
    	if age != ((1+10+20)*2 + 30) {
    		t.Errorf("Invalid age, got %v", age)
    	}
    }
    
    func TestRowsWithGroup(t *testing.T) {
    	users := []User{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

     * <Double>}:
     *
     * <ul>
     *   <li>Improved memory compactness and locality.
     *   <li>Can be queried without allocating garbage.
     *   <li>Access to {@code DoubleStream} features (like {@link DoubleStream#sum}) using {@code
     *       stream()} instead of the awkward {@code stream().mapToDouble(v -> v)}.
     * </ul>
     *
     * <p>Disadvantages compared to {@code ImmutableList<Double>}:
     *
     * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multiset.java

       * order.
       */
      @Override
      // TODO(kevinb): caveats about equivalence-relation?
      boolean equals(@CheckForNull Object object);
    
      /**
       * Returns the hash code for this multiset. This is defined as the sum of
       *
       * <pre>{@code
       * ((element == null) ? 0 : element.hashCode()) ^ count(element)
       * }</pre>
       *
       * <p>over all distinct elements in the multiset. It follows that a multiset and its entry set
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top