Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 304 for setValues (0.46 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc

        }
        assert(data.getNumElements() == element_count);
      }
    
      using StridedArrayViewBase::NextTensorIndex;
      using StridedArrayViewBase::size;
    
      int64_t operator[](int64_t i) const {
        return data_.getValues<APInt>()[OffsetForIndex(i)].getSExtValue();
      }
    
     private:
      const DenseIntElementsAttr& data_;
    };
    
    // It matches %iota generated from the following mlir codes:
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ModelSetModelProjectionTest.groovy

    class ModelSetModelProjectionTest extends ProjectRegistrySpec {
        @Managed
        interface NamedThing {
            String getName()
    
            void setName(String name);
    
            String getValue()
    
            void setValue(String value)
        }
    
        def collectionPath = ModelPath.path("collection")
        def collectionType = new ModelType<ModelSet<NamedThing>>() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

        SparseElementsAttr realSparseAttr,
        quant::QuantizedType quantizedElementType,
        const UniformQuantizedValueConverter &converter) {
      DenseElementsAttr realDenseAttr = realSparseAttr.getValues();
      if (!mlir::isa<DenseFPElementsAttr>(realDenseAttr)) {
        return nullptr;
      }
      DenseElementsAttr quantDenseAttr =
          convertDenseFPElementsAttr(mlir::cast<DenseFPElementsAttr>(realDenseAttr),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

            String getValue()
            void setValue(String value)
        }
    
        @Managed
        static interface SingleFloatValueProperty {
            Float getValue()
            void setValue(Float value)
        }
    
        @Managed
        static interface AnotherSingleStringValueProperty {
            String getValue()
    
            void setValue(String value)
        }
    
        @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                          return new Entry<String, String>() {
    
                            @Override
                            public String setValue(String value) {
                              checkNotNull(value);
                              return next.setValue(value);
                            }
    
                            @Override
                            public String getValue() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/XcodeprojSerializer.java

            NSArray array = new NSArray(objectList.size());
            for (int i = 0; i < objectList.size(); i++) {
                String gid = serializeObject(objectList.get(i));
                array.setValue(i, new NSString(gid));
            }
            currentObject.put(name, array);
        }
    
        public void addField(String name, NSObject v) {
            if (v != null) {
                currentObject.put(name, v);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r44/ParameterizedToolingModelCrossVersionSpec.groovy

                import javax.inject.Inject
    
                allprojects {
                    apply plugin: CustomPlugin
                }
    
                interface CustomParameter {
                    void setValue(String str);
                    String getValue();
                }
    
                class DefaultCustomModel implements Serializable {
                    private final boolean builtWithParameter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc

      auto max_count_const_op = llvm::dyn_cast<TF::ConstOp>(max_count_op);
      if (!max_count_const_op) return op->emitOpError("unknown max element count");
      int64_t max_size_const =
          (*max_count_const_op.getValue().getValues<APInt>().begin())
              .getSExtValue();
      return CreateInitBufferValue(element_shape, max_size_const, op, element_dtype,
                                   builder, buffer);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractBiMap.java

        BiMapEntry(Entry<K, V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        protected Entry<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public V setValue(V value) {
          checkValue(value);
          // Preconditions keep the map and inverse consistent.
          checkState(entrySet().contains(this), "entry no longer in map");
          // similar to putInBothMaps, but set via entry
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
Back to top