Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for filterValue (0.14 sec)

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

            filter_constant_op) {
          // This is i8 values disguised as f32 (due to the upcast trick). Simply
          // cast them to i8.
          ElementsAttr filter_value = filter_constant_op.getValue();
          filter_i8_value_attr =
              mlir::cast<DenseFPElementsAttr>(filter_value)
                  .mapValues(rewriter.getI8Type(), [](const APFloat& val) -> APInt {
                    APSInt convertedInt(/*BitWidth=*/8, /*isUnsigned=*/false);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

            return apiChangesDirectory.get().asFile.listFiles()
                ?.filter {
                    it.name.endsWith(".json")
                }?.associate {
                    it to it.readAcceptedChanges()
                }?.filterValues {
                    it.acceptedApiChanges != null
                }?.mapValues {
                    it.value.acceptedApiChanges!!
                } ?: emptyMap()
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt

                .mapValues { (_, functions) -> functions.singleOrNull { fn -> fn.parameters.all { it == fn.instanceParameter } } }
                .filterValues { it != null && includeMemberFilter.shouldIncludeMember(it) }
            return getters.mapNotNull { (name, getter) ->
                checkNotNull(getter)
                val nameAfterGet = name.substringAfter("get")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/CandidateMethods.java

         * {@literal null} if none
         */
        public Map<Equivalence.Wrapper<Method>, Collection<Method>> overriddenMethodsNamed(String methodName) {
            if (candidates.containsKey(methodName)) {
                return Maps.filterValues(candidates.get(methodName), new Predicate<Collection<Method>>() {
                    @Override
                    public boolean apply(Collection<Method> equivalentMethods) {
                        return equivalentMethods.size() > 1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/schemaFromProperties.kt

                .mapValues { (_, functions) -> functions.singleOrNull { fn -> fn.parameters.all { it == fn.instanceParameter } } }
                .filterValues { it != null && includeMemberFilter.shouldIncludeMember(it) && isGradlePropertyType(it.returnType) }
            return getters.map { (name, getter) ->
                checkNotNull(getter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

                // Overridden properties keys are passed to be excluded from the restoration process.
                return Restoring(mutatedSystemProperties.filterValues { it is SystemPropertyOverride }.keys)
            }
    
            fun isSystemPropertyMutated(key: String): Boolean {
                return systemPropertiesCleared || mutatedSystemProperties[key] is SystemPropertyMutate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        // values doesn't matter.
                        snapshot[it] != ConfigurationCacheFingerprint.SystemPropertiesPrefixedBy.IGNORED
                    }
                    val snapshotWithoutIgnored = snapshot.filterValues {
                        // remove placeholders of modified properties to only compare relevant values.
                        it != ConfigurationCacheFingerprint.SystemPropertiesPrefixedBy.IGNORED
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                            isLeaf[superClass] = false
                            queue.addLast(superClass)
                        }
                    }
                }
            }
    
            return isLeaf.filterValues { it }.keys
        }
    
        private fun getBoundClass(type: KotlinType): ClassDescriptor? {
            return when (val declaration = type.constructor.declarationDescriptor) {
                is ClassDescriptor -> declaration
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        Value filter_value = op.getOperand(1);
        Operation* filter_op = filter_value.getDefiningOp();
        auto filter_uniform_quantized_type =
            GetElementType(filter_value).cast<UniformQuantizedPerAxisType>();
        auto filter_constant_value_attr = cast<DenseIntElementsAttr>(
            cast<stablehlo::ConstantOp>(filter_value.getDefiningOp()).getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

       * Predicates.instanceOf(ArrayList.class)}, which is inconsistent with equals.
       *
       * @since 11.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          Multimap<K, V> filterValues(
              Multimap<K, V> unfiltered, final Predicate<? super V> valuePredicate) {
        return filterEntries(unfiltered, Maps.<V>valuePredicateOnEntries(valuePredicate));
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top