Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 720 for getDtype (0.11 sec)

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

      // if a quantized type has not yet been chosen or if the cast to an equivalent
      // storage type is not supported.
      Type qbarrierResultType = qbarrier.getResult().getType();
      QuantizedType quantizedElementType =
          QuantizedType::getQuantizedElementType(qbarrierResultType);
      if (!quantizedElementType) {
        return failure();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/AbstractDependencyMetadataConverter.java

            this.excludeRuleConverter = excludeRuleConverter;
        }
    
        private String getExtension(DependencyArtifact artifact) {
            return artifact.getExtension() != null ? artifact.getExtension() : artifact.getType();
        }
    
        protected List<ExcludeMetadata> convertExcludeRules(Set<ExcludeRule> excludeRules) {
            return CollectionUtils.collect((Iterable<ExcludeRule>) excludeRules, excludeRuleConverter::convertExcludeRule);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

        for (auto *read_variable_user : read_variable_op.getResult().getUsers()) {
          auto q_op = dyn_cast_or_null<QuantizeOp>(read_variable_user);
          if (!q_op || ref_qtype) continue;
          ref_qtype = q_op.getResult().getType();
        }
      }
      return ref_qtype;
    }
    
    Type GetDequantizedTypeFromAssigneVariableOp(VarHandleOp var_handle_op) {
      Type ref_qtype = nullptr;
      for (auto *var_handle_user : var_handle_op.getResult().getUsers()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc

    }
    
    static bool HasResourceSubtype(Value resource) {
      return resource.getType()
                 .cast<TensorType>()
                 .getElementType()
                 .cast<ResourceType>()
                 .getSubtypes()
                 .size() == 1;
    }
    
    static Type GetResourceSubtype(Value resource) {
      return resource.getType()
          .cast<TensorType>()
          .getElementType()
          .cast<ResourceType>()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java

                List<Collectors.TypedCollector<T>> copied = new ArrayList<>();
                for (Collectors.TypedCollector<T> collector : pending) {
                    if (collector.getType() == null || type.isAssignableFrom(collector.getType())) {
                        copied.add(collector);
                    }
                }
                realize(copied);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/cluster.go

    					c.Name = fmt.Sprintf("cluster/%s", c.Name)
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%s\t%s\n", c.Name, fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    				} else {
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%s\t%s\n", fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    				}
    			} else {
    				if includeConfigType && len(c.Name) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFingerprintingStrategy.java

                    if (snapshot.getType() != FileType.Directory) {
                        HashCode normalizedContentHash = getNormalizedContentHash(snapshot, normalizedContentHasher);
                        if (normalizedContentHash != null) {
                            builder.put(snapshot.getAbsolutePath(), IgnoredPathFileSystemLocationFingerprint.create(snapshot.getType(), normalizedContentHash));
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                }
    
                @Override
                public String getExtension() {
                    return getType().getExtension();
                }
    
                @Override
                public Type getType() {
                    String type = dependency.getType();
                    return session.requireType(type);
                }
    
                @Nonnull
                @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 16 08:45:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/SortedSetElementSourceTest.groovy

        }
    
        def "realizes only pending elements with a given type"() {
            given:
            _ * provider1.getType() >> SomeType.class
            _ * provider2.getType() >> SomeOtherType.class
            _ * provider3.getType() >> SomeType.class
    
            when:
            source.addPending(provider1)
            source.addPending(provider2)
            source.addPending(provider3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:14 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/validators.h

    inline bool TFTypeIsFloat32Tensor(Value value) {
      auto tensorType = mlir::dyn_cast<TensorType>(value.getType());
      if (!tensorType) return false;
      return tensorType.getElementType().isF32();
    }
    
    // Returns true iff the given value is a bf16 tensor.
    inline bool TFTypeIsBFloat16Tensor(Value value) {
      auto tensorType = mlir::dyn_cast<TensorType>(value.getType());
      if (!tensorType) return false;
      return tensorType.getElementType().isBF16();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top