Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,093 for compute (0.18 sec)

  1. guava-tests/test/com/google/common/math/QuantilesTest.java

      }
    
      public void testScale_index_compute_doubleCollection() {
        assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_DOUBLES))
            .isWithin(ALLOWED_ERROR)
            .of(SIXTEEN_SQUARES_DECILE_1);
      }
    
      public void testScale_index_compute_longCollection() {
        assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_LONGS))
            .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      }
    
      public void testScale_index_compute_doubleCollection() {
        assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_DOUBLES))
            .isWithin(ALLOWED_ERROR)
            .of(SIXTEEN_SQUARES_DECILE_1);
      }
    
      public void testScale_index_compute_longCollection() {
        assertThat(Quantiles.scale(10).index(1).compute(SIXTEEN_SQUARES_LONGS))
            .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

     *
     * <h3>Examples</h3>
     *
     * <p>To compute the median:
     *
     * <pre>{@code
     * double myMedian = median().compute(myDataset);
     * }</pre>
     *
     * where {@link #median()} has been statically imported.
     *
     * <p>To compute the 99th percentile:
     *
     * <pre>{@code
     * double myPercentile99 = percentiles().index(99).compute(myDataset);
     * }</pre>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  4. configure.py

        native_cuda_compute_capabilities = get_native_cuda_compute_capabilities(
            environ_cp)
        if not native_cuda_compute_capabilities:
          default_cuda_compute_capabilities = _DEFAULT_CUDA_COMPUTE_CAPABILITIES
        else:
          default_cuda_compute_capabilities = native_cuda_compute_capabilities
    
        ask_cuda_compute_capabilities = (
            'Please specify a list of comma-separated CUDA compute capabilities '
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  5. tests/test_modules_same_name_body/test_main.py

                        },
                        "summary": "Compute",
                        "operationId": "compute_a_compute_post",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_compute_a_compute_post"
                                    }
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. tests/test_modules_same_name_body/app/a.py

    from fastapi import APIRouter, Body
    
    router = APIRouter()
    
    
    @router.post("/compute")
    def compute(a: int = Body(), b: str = Body()):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 160 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        // b/80241237
    
        Cache<String, String> c = CacheBuilder.newBuilder().maximumSize(1).build();
    
        assertThat(c.asMap().compute("hash-1", (k, v) -> "a")).isEqualTo("a");
        assertThat(c.asMap().compute("hash-1", (k, v) -> "b")).isEqualTo("b");
        assertThat(c.asMap().compute("hash-1", (k, v) -> "c")).isEqualTo("c");
        assertThat(c.size()).isEqualTo(1);
        assertThat(c.asMap().computeIfAbsent("hash-2", k -> "")).isEqualTo("");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/math_grad.cc

            "Expected numeric or variant tensor, got dtype ", dtype);
      }
      return tensorflow::ops::Conj(ctx, input, output, name);
    }
    
    class AddGradientFunction : public GradientFunction {
     public:
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(b/161805092): Support broadcasting.
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_test.c

      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void compute(void* kernel, TF_OpKernelContext* ctx) {
      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SmallCharMatcher.java

        // Compute the filter.
        long filter = 0;
        int size = chars.cardinality();
        boolean containsZero = chars.get(0);
        // Compute the hash table.
        char[] table = new char[chooseTableSize(size)];
        int mask = table.length - 1;
        for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) {
          // Compute the filter at the same time.
          filter |= 1L << c;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top