Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 95 for mapValue (0.14 sec)

  1. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

    static DenseElementsAttr convertDenseFPElementsAttr(
        DenseFPElementsAttr realFPElementsAttr,
        quant::QuantizedType quantizedElementType,
        const UniformQuantizedValueConverter &converter) {
      return realFPElementsAttr.mapValues(
          quantizedElementType.getStorageType(),
          [&converter](const APFloat &realVal) {
            return converter.quantizeFloatToInt(realVal);
          });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

                    throw new IOException(String.format("%s overlaps with %s", b1, b2));
                }
            }
        }
    
        private void verifyTree(IndexBlock current, String prefix, Collection<BlockPayload> blocks, long maxValue,
                                boolean loadData) throws Exception {
            blocks.add(current);
    
            if (!prefix.equals("") && current.entries.size() < maxChildIndexEntries / 2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt

        protected
        abstract fun read(decoder: Decoder): V
    
        /**
         * Collects all values used during execution
         */
        fun collectAccessedValues(): Map<K, BlockAddress> =
            currentValues.mapValues { it.value.get() }
    
        fun restoreFromCacheEntry(entryDetails: Map<K, BlockAddress>, checkedFingerprint: CheckedFingerprint.ProjectsInvalid) {
            for (entry in entryDetails) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    			minValue = nodeMin
    		}
    	}
    	maxValue := rpt.total
    	if minValue == 0 {
    		minValue = maxValue
    	}
    
    	if r := o.Ratio; r > 0 && r != 1 {
    		minValue = int64(float64(minValue) * r)
    		maxValue = int64(float64(maxValue) * r)
    	}
    
    	_, minUnit := measurement.Scale(minValue, o.SampleUnit, "minimum")
    	_, maxUnit := measurement.Scale(maxValue, o.SampleUnit, "minimum")
    
    	unit := minUnit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. tests/postgres_test.go

    );
    
    ALTER TABLE public.log_usage ALTER COLUMN log_id ADD GENERATED BY DEFAULT AS IDENTITY (
        SEQUENCE NAME public.log_usage_log_id_seq
        START WITH 1
        INCREMENT BY 1
        NO MINVALUE
        NO MAXVALUE
        CACHE 1
    );
    	`).Error; err != nil {
    		t.Fatalf("failed to create table, got error %v", err)
    	}
    
    	columns, err := DB.Migrator().ColumnTypes("log_usage")
    	if err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

            }
    
            @Override
            public Integer minValue() {
              return integers().minValue();
            }
    
            @Override
            public Integer maxValue() {
              return integers().maxValue();
            }
          };
    
      public void testInvalidIntRange() {
        try {
          ContiguousSet.closed(2, 1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirArgumentsConverter.kt

    }
    
    private fun convertArgument(argument: Map<*, *>, firSymbolBuilder: KaSymbolByFirBuilder): Any? {
        return argument.mapKeys { (key, _) ->
            convertArgument(key, firSymbolBuilder)
        }.mapValues { (_, value) -> 
            convertArgument(value, firSymbolBuilder)
        }
    }
    
    private fun convertArgument(argument: Collection<*>, firSymbolBuilder: KaSymbolByFirBuilder): Any? {
        return argument.map { value ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

            containerElements
        )
    }
    
    
    private
    fun accessibleConventionsSchema(plugins: Map<String, Any>) =
        DeprecationLogger.whileDisabled(Factory {
            plugins.filterKeys(::isPublic).mapValues { inferPublicTypeOfConvention(it.value) }
        })!!
    
    
    private
    fun accessibleContainerSchema(collectionSchema: NamedDomainObjectCollectionSchema) =
        collectionSchema.elements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ContiguousSet.java

            effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue()));
          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ContiguousSet.java

            effectiveRange = effectiveRange.intersection(Range.atLeast(domain.minValue()));
          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
Back to top