- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 395 for element_types (0.19 sec)
-
tensorflow/compiler/mlir/lite/utils/variables_utils.cc
(quant_type.getStorageTypeIntegralWidth() == 32 && quant_type.isSigned())) return true; } return element_type.isF32() || element_type.isF64() || element_type.isInteger(1) || element_type.isInteger(8) || element_type.isInteger(32) || element_type.isSignlessInteger(64); } } // namespace utils } // namespace TFL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 19:32:03 UTC 2021 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/constant_utils.cc
Type element_type = shaped_type.getElementType(); if (element_type.isF16()) { auto floatType = mlir::FloatType::getF16(element_type.getContext()); auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); std::vector<Attribute> floatValues({floatAttr}); return DenseElementsAttr::get(shaped_type, floatValues); } else if (element_type.isBF16()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
auto element_type = attr.getType().getElementType(); if (attr.getNumElements() != 1 || !element_type.isIntOrFloat()) return false; if (mlir::isa<FloatType>(element_type)) { auto value = *attr.value_begin<APFloat>(); return value.isNegative() && value.isInfinity(); } else if (element_type.isInteger(1)) { auto value = *attr.value_begin<APInt>();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/collections/DefaultDomainObjectCollectionFactory.java
// Do not decorate the elements, for backwards compatibility return container(elementType, instantiatorFactory.injectLenient(servicesToInject)); } @Override public <T> NamedDomainObjectContainer<T> newNamedDomainObjectContainer(Class<T> elementType) { return container(elementType, instantiatorFactory.decorateLenient(servicesToInject)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 10 22:34:19 UTC 2021 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy
@Target([ElementType.METHOD, ElementType.FIELD]) @interface Short { } @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.METHOD, ElementType.FIELD]) @interface Tint { String value() } @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.METHOD, ElementType.FIELD]) @interface Ignored { } @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.METHOD, ElementType.FIELD])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc
if (!splat_elements_attr) { return; } auto element_type = splat_elements_attr.getType().getElementType(); if (!(element_type.isF32() || element_type.isF16() || element_type.isInteger(1) || element_type.isInteger(32) || element_type.isInteger(64))) { return; } if (splat_elements_attr.getNumElements() *
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java
private final ModelType<T> elementType; public ModelSetModelViewFactory(ModelType<T> elementType) { this.elementType = elementType; } @Override public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean mutable) { ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
analysis/analysis-api/testData/annotations/annotationsOnDeclaration/direct/onProperty_javaAnnotation_targets.kt
// FILE: JavaAnno.java import java.lang.annotation.Target; import java.lang.annotation.ElementType; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; @Target({FIELD, METHOD}) public @interface JavaAnno() { ElementType[] types(); } // FILE: test.kt import java.lang.annotation.ElementType.FIELD class Test { @JavaAnno(FIELD) val f<caret>oo = ""
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Nov 17 11:58:14 UTC 2022 - 422 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h
auto element_type = mlir::cast<ShapedType>(value.getType()).getElementType(); if (mlir::isa<FloatType>(element_type)) { DenseFPElementsAttr float_attr; if (matchPattern(value, m_Constant(&float_attr)) && float_attr.isSplat() && float_attr.getSplatValue<APFloat>().isExactlyValue(raw_value)) return true; } else if (mlir::isa<IntegerType>(element_type)) { DenseIntElementsAttr int_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ParameterKind.java
import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; public class ParameterKind { @Retention(RetentionPolicy.CLASS) @Target(ElementType.PARAMETER) public @interface Receiver { } @Retention(RetentionPolicy.CLASS) @Target(ElementType.PARAMETER) public @interface CallerClassName {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 24 13:33:59 UTC 2023 - 1.7K bytes - Viewed (0)