Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for floatkey (0.81 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

    template <typename T>
    DenseElementsAttr GetScalarOfType(Type ty, T raw_value) {
      RankedTensorType scalar_ty = RankedTensorType::get({}, ty);
      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
        FloatAttr attr = FloatAttr::get(float_ty, raw_value);
        return DenseElementsAttr::get(scalar_ty, attr);
      } else if (auto int_ty = mlir::dyn_cast<IntegerType>(ty)) {
        IntegerAttr attr = IntegerAttr::get(int_ty, raw_value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeiling() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java

        assertEquals(a, navigableMap.floorEntry(a.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(a.getKey()));
        assertEquals(a, navigableMap.floorEntry(b.getKey()));
        assertEquals(a.getKey(), navigableMap.floorKey(b.getKey()));
        assertEquals(c, navigableMap.floorEntry(c.getKey()));
        assertEquals(c.getKey(), navigableMap.floorKey(c.getKey()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCeiling() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_types.def

    #undef HANDLE_CUSTOM_TF_TYPE
    
    // All ref types are listed below this line and FloatRef is the first ref type.
    // This helps in easily differentiating ref and non-ref types, and converting
    // a type to/from ref types.
    
    #ifndef HANDLE_TF_REF_TYPE
    #define HANDLE_TF_REF_TYPE(class, enumerant, name) \
      HANDLE_TF_TYPE(class, enumerant, name)
    #endif
    HANDLE_TF_REF_TYPE(FloatRef, FLOAT_REF, "f32ref")
    HANDLE_TF_REF_TYPE(DoubleRef, DOUBLE_REF, "f64ref")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Sep 09 03:12:53 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      }
    
      @Override
      public @Nullable Entry<K, V> floorEntry(K key) {
        return delegate.floorEntry(checkValid(key));
      }
    
      @Override
      public @Nullable K floorKey(K key) {
        return delegate.floorKey(checkValid(key));
      }
    
      @Override
      public @Nullable V get(Object key) {
        return delegate.get(checkValid(key));
      }
    
      @Override
      public SortedMap<K, V> headMap(K toKey) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      // Check quantization parameters for input and output.
      EXPECT_THAT(pack_input0->quantization->scale[0],
                  FloatEq(pack_input1->quantization->scale[0]));
      EXPECT_THAT(pack_input1->quantization->scale[0],
                  FloatEq(pack_input2->quantization->scale[0]));
      EXPECT_THAT(pack_input0->quantization->zero_point[0],
                  Eq(pack_input1->quantization->zero_point[0]));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

                                       flatbuffers::FlatBufferBuilder* builder) {
      std::vector<float> floatVec;
      floatVec.reserve(attrArray.getValue().size());
      for (auto attr : attrArray.getValue()) {
        floatVec.push_back(
            mlir::cast<mlir::FloatAttr>(attr).getValue().convertToFloat());
      }
      return builder->CreateVector(floatVec);
    }
    
    // F32Attr already returns a float as required by flatbuffer builders.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          Entry<K, Collection<V>> entry = sortedMap().floorEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        @CheckForNull
        public K floorKey(@ParametricNullness K key) {
          return sortedMap().floorKey(key);
        }
    
        @Override
        @CheckForNull
        public Entry<K, Collection<V>> ceilingEntry(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          Entry<K, Collection<V>> entry = sortedMap().floorEntry(key);
          return (entry == null) ? null : wrapEntry(entry);
        }
    
        @Override
        @CheckForNull
        public K floorKey(@ParametricNullness K key) {
          return sortedMap().floorKey(key);
        }
    
        @Override
        @CheckForNull
        public Entry<K, Collection<V>> ceilingEntry(@ParametricNullness K key) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
Back to top