- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 130 for resultType (0.24 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc
SmallVector<Type, 4> result_types; for (auto result_type : op->getResultTypes()) { if (IsQI8Type(result_type) || IsQUI8Type(result_type)) { auto dequantized_result_type = mlir::quant::QuantizedType::castToExpressedType(result_type); result_types.push_back(dequantized_result_type); } else { result_types.push_back(result_type); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/DependencyResultSerializer.java
byte resultByte = decoder.readByte(); if (resultByte == SUCCESSFUL) { long selectedId = decoder.readSmallLong(); long selectedVariantId = decoder.readSmallLong(); return new DetachedResolvedGraphDependency(requested, selectedId, null, null, constraint, fromVariant, selectedVariantId); } else if (resultByte == SUCCESSFUL_NOTHING_SELECTED) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
// Pre-actions before adding quantization logics. It creates a function with the // func_name where input_val is an input and result_type is a result. func::FuncOp PrepareFunctionRegister(PatternRewriter& rewriter, Value input_val, ShapedType result_type, StringRef func_name, Value& func_input_arg) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
Attribute ConstFoldBroadcastInDim(ShapedType result_type, DenseElementsAttr operand, DenseIntElementsAttr bcast_dims) { auto dimensions = llvm::to_vector(bcast_dims.getValues<int64_t>()); const auto result_shape = result_type.getShape(); // Index for the broadcasted matrix. llvm::SmallVector<int64_t, 16> current_index(result_type.getRank(), 0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/post_quantize.cc
shape_data.push_back(it.getSExtValue()); } result_type = RankedTensorType::get(shape_data, input_type.getElementType()); } auto values_type = RankedTensorType::get( result_type.getShape(), mlir::cast<quant::UniformQuantizedType>(result_type.getElementType()) .getStorageType());
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_arith_ops_folder.h
if (rhs_attr && is_valid_broadcasting(lhs_type, rhs_type, result_type)) { if (rhs_attr.isSplat() && rhs_attr.getSplatValue<Attribute>() == identity_attr) return arithmetic_op.getX(); } // Fold: Op(Identity, Operand) -> Operand for commutative operations. if (lhs_attr && is_commutative && is_valid_broadcasting(rhs_type, lhs_type, result_type)) { if (lhs_attr.isSplat() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc
mlir::cast<TensorType>(input.getType()), kNchwToNhwcPermutation); auto input_transpose_op = rewriter.create<mlir::stablehlo::TransposeOp>( op.getLoc(), /*resultType0=*/new_input_tensor_type, /*operand=*/input, rewriter.getDenseI64ArrayAttr(kNchwToNhwcPermutation)); // Transpose the filter tensor: [o, i, 0, 1] => [0, 1, i, o] Value filter = op->getOperand(1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc
if (op->getNumOperands() != 2 || op->getResultTypes().size() != 1) return failure(); // Check that the result shape is fully defined. auto result_type = mlir::dyn_cast_or_null<RankedTensorType>(op->getResultTypes().front()); if (!result_type || !result_type.hasStaticShape()) return failure(); bool changed = false; for (uint64_t i = 0, e = op->getNumOperands(); i < e; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc
auto const_type = mlir::dyn_cast<ShapedType>(op.getOperand(0).getType()); auto result_type = mlir::dyn_cast<ShapedType>(op.getResult().getType()); if (!const_type || !const_type.getElementType().isSignlessInteger(4) || !result_type || !result_type.getElementType().isSignlessInteger(8)) { return failure(); } auto input_op =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h
public: QuantizedType GetResultQuantizedType(int index) { auto op = this->getOperation(); const auto result_type = op->getResult(index).getType().template cast<ShapedType>(); if (!result_type.getElementType().template isa<FloatType>()) return {}; Builder builder(op->getContext()); const IntegerType storage_type = builder.getIntegerType(BitWidth);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.8K bytes - Viewed (0)