- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for getPerm (0.96 sec)
-
tensorflow/compiler/mlir/lite/transforms/push_transpose_through_ewise.cc
} if (llvm::isa<BlockArgument>(tpose_arg1.getPerm()) || llvm::isa<BlockArgument>(tpose_arg2.getPerm())) { return failure(); } auto perm1 = llvm::dyn_cast_or_null<arith::ConstantOp>( tpose_arg1.getPerm().getDefiningOp()); auto perm2 = llvm::dyn_cast_or_null<arith::ConstantOp>( tpose_arg2.getPerm().getDefiningOp()); if (!perm1 || !perm2) { return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
if (dyn_cast_or_null<quantfork::QuantizeCastOp>(next_op)) return failure(); auto input_type = mlir::cast<ShapedType>(transpose_op.getInput().getType()); auto perm_type = mlir::cast<ShapedType>(transpose_op.getPerm().getType()); if (input_type.hasStaticShape() && perm_type.hasStaticShape()) { if (perm_type.getNumElements() != input_type.getRank()) { return transpose_op.emitOpError(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
if (axis != i / 2) return failure(); ++i; } // Check whether first tranpose's perm has [2, 1, 0, 3]. DenseIntElementsAttr perm; if (!matchPattern(transpose_first.getPerm(), m_Constant(&perm))) return failure(); SmallVector<int64_t, 4> axes; for (const auto &axis_int : perm.getValues<APInt>()) { axes.push_back(axis_int.getSExtValue()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
auto qconst_op = llvm::dyn_cast_or_null<QConstOp>(def_op); if (qconst_op == nullptr) return failure(); DenseIntElementsAttr perm_tensor; if (!matchPattern(op.getPerm(), m_Constant(&perm_tensor))) return failure(); if (!mlir::isa<quant::UniformQuantizedType>( (getElementTypeOrSelf(op.getOutput().getType())))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
} } } // Permutations defined by constant operations. DenseIntElementsAttr perm0; DenseIntElementsAttr perm1; if (!matchPattern(op.getPerm(), m_Constant(&perm0)) || !matchPattern(transpose.getPerm(), m_Constant(&perm1))) return {}; // With permutation indices that cancel each other if (!AreCancellablePermutations(perm0, perm1)) return {};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
} mlir::LogicalResult TransposeOp::verify() { TransposeOp op = *this; auto input_type = op.getInput().getType().cast<ShapedType>(); auto perm_type = op.getPerm().getType().cast<ShapedType>(); auto output_type = op.getOutput().getType().cast<ShapedType>(); if (input_type.hasStaticShape() && perm_type.hasStaticShape()) { if (perm_type.getNumElements() != input_type.getRank()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java
* However, when both getter methods are present, Gradle needs to decide which method to use to access the property value. This can be solved * by explicitly ignoring one of the two getters using the ignore annotation. * </p> * * <p> * A special case of this is when both getters are generated by Groovy.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 2.6K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java
return new Accessors(owningClass, propertyName, getters, superclassSetters); } } return null; } private Accessors(JavaClass owningClass, String propertyName, Set<JavaMethod> getters, Set<JavaMethod> setters) { this.getters = getters; this.setters = setters; this.owningClass = owningClass;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 37.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/PropertyExtractor.kt
val nameAfterGet = name.substringAfter("get") val propertyName = nameAfterGet.replaceFirstChar { it.lowercase(Locale.getDefault()) } if (!propertyNamePredicate(propertyName)) return@mapNotNull null val type = getter.returnType.toDataTypeRefOrError() val isHidden = getter.annotations.any { it is HiddenInDeclarativeDsl }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:01 UTC 2024 - 6.7K bytes - Viewed (0)