Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 337 for si_value (0.15 sec)

  1. subprojects/core-api/src/main/java/org/gradle/internal/metaobject/DynamicInvokeResult.java

     */
    
    package org.gradle.internal.metaobject;
    
    import javax.annotation.Nullable;
    
    public class DynamicInvokeResult {
    
        private static final Object NO_VALUE = new Object();
        private static final DynamicInvokeResult NOT_FOUND = new DynamicInvokeResult(NO_VALUE);
        private static final DynamicInvokeResult NULL = new DynamicInvokeResult(null);
    
        public static DynamicInvokeResult found(@Nullable Object value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

    namespace mlir {
    namespace TFL {
    
    template <class TFFakeQuantOp>
    struct FetchMinMaxAttrs {
      using AttrType = FloatAttr;
      bool operator()(TFFakeQuantOp tf_op, AttrType &min_value,
                      AttrType &max_value) const {
        min_value = tf_op.getMinAttr();
        max_value = tf_op.getMaxAttr();
        return true;  // Successfully matched and fetched.
      }
    };
    
    template <class TFFakeQuantOp>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(SEVERAL)
      public void testSetValue_valuePresent() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      public void testCheckPositive_maxInt() {
        MathPreconditions.checkPositive("int", Integer.MAX_VALUE);
      }
    
      public void testCheckPositive_minInt() {
        try {
          MathPreconditions.checkPositive("int", Integer.MIN_VALUE);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCheckPositive_positiveInt() {
        MathPreconditions.checkPositive("int", 1);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

    namespace mlir {
    namespace quant {
    
    template <class TFFakeQuantOp>
    struct FetchMinMaxAttrs {
      using AttrType = FloatAttr;
      bool operator()(TFFakeQuantOp tf_op, AttrType &min_value,
                      AttrType &max_value) const {
        min_value = tf_op.getMinAttr();
        max_value = tf_op.getMaxAttr();
        return true;  // Successfully matched and fetched.
      }
    };
    
    template <class TFFakeQuantOp>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

        def "rule can create a map of model elements"() {
            when:
            buildScript '''
                @Managed
                interface Thing extends Named {
                  void setValue(String value)
                  String getValue()
                }
    
                @Managed
                interface Container {
                  ModelMap<Thing> getThings();
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  10. 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)
Back to top