Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 135 for MIN_VALUE (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

                                                         &histogram_output));
        if (num_bins > 0) {
          const float min_value = min_output->scalar<float>()();
          const float max_value = max_output->scalar<float>()();
          CalculateHistogramStatistics(context, input_tensor, min_value, max_value,
                                       num_bins, histogram_output);
        }
      }
    
     private:
      std::string id_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h

    // number of bins might be smaller than the given `num_bins`.
    inline float CalculateBinWidth(const float min_value, const float max_value,
                                   const int32_t num_bins) {
      const float raw_bin_width = (max_value - min_value) / num_bins;
      return std::pow(2, std::ceil(std::log2(raw_bin_width)));
    }
    
    // Calculates the lower bound of the histogram. The lower bound is in form of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {MIN_VALUE},
                new long[] {MIN_VALUE, MIN_VALUE},
                new long[] {MIN_VALUE, (long) 1},
                new long[] {(long) 1},
                new long[] {(long) 1, MIN_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE - (long) 1},
                new long[] {MAX_VALUE, MAX_VALUE},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @SuppressWarnings({
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 11 14:30:06 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/operations/OperationIdentifierTest.groovy

            new OperationIdentifier(-1).getId() == -1
            new OperationIdentifier(1).getId() == 1
            new OperationIdentifier(Long.MAX_VALUE).getId() == Long.MAX_VALUE
            new OperationIdentifier(Long.MIN_VALUE).getId() == Long.MIN_VALUE
        }
    
        def "disallows instantiation with a value of 0"() {
            when:
            new OperationIdentifier(0)
    
            then:
            thrown(IllegalArgumentException)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/DiscreteDomain.java

            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
            return Long.MIN_VALUE;
          }
          return result;
        }
    
        @Override
        public Long minValue() {
          return Long.MIN_VALUE;
        }
    
        @Override
        public Long maxValue() {
          return Long.MAX_VALUE;
        }
    
        private Object readResolve() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      private static final double[] VALUES = {
        Double.NEGATIVE_INFINITY,
        -Double.MAX_VALUE,
        (double) Long.MIN_VALUE,
        (double) Integer.MIN_VALUE,
        -Math.PI,
        -1.0,
        -Double.MIN_VALUE,
        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

            0x1000            | -1
            Integer.MAX_VALUE | -1
            Long.MAX_VALUE    | -1
            Long.MAX_VALUE    | -0xc3412
            Integer.MAX_VALUE | Integer.MIN_VALUE
            Long.MAX_VALUE    | Long.MIN_VALUE
        }
    
        def "decode fails when small long cannot be fully read"() {
            given:
            def bytes = truncate { Encoder encoder ->
                encoder.writeSmallLong(0xa40745f)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleSupportedTypesIntegrationTest.groovy

            "byte[]"                             | "[Byte.MIN_VALUE, Byte.MAX_VALUE]"        | "[-128, 127]"
            "short[]"                            | "[Short.MIN_VALUE, Short.MAX_VALUE]"      | "[-32768, 32767]"
            "int[]"                              | integerArray()                            | "[-2147483648, 2147483647]"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:40:52 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

        List<long[]> ordered =
            Arrays.asList(
                new long[] {},
                new long[] {MIN_VALUE},
                new long[] {MIN_VALUE, MIN_VALUE},
                new long[] {MIN_VALUE, (long) 1},
                new long[] {(long) 1},
                new long[] {(long) 1, MIN_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE - (long) 1},
                new long[] {MAX_VALUE, MAX_VALUE},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top