- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for zero_points_type (0.1 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
return failure(); } auto zero_points_type = mlir::dyn_cast_or_null<TensorType>(zero_points.getType()); if (!zero_points_type) { LLVM_DEBUG(llvm::dbgs() << "Zero point value should be a tensor type. Got: " << zero_points_type << ".\n"); return failure(); } if (Type zero_points_element_type = zero_points_type.getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
} if (zero_points_type.hasRank() && zero_points_type.getRank() != 1) { return op.emitOpError( "quantization_axis is not -1, zero_points must have 1 rank."); } if (scales_type.hasStaticShape() && zero_points_type.hasStaticShape() && scales_type.getNumElements() != zero_points_type.getNumElements()) { return op.emitOpError(
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/quantization/tensorflow/passes/quantize_composite_functions.cc
TensorType zero_point_type = scale_type.clone(rewriter.getI32Type()); scale = rewriter.create<TF::ConstOp>( loc, scale_type, DenseFPElementsAttr::get(scale_type, {static_cast<float>(qtype.getScale())})); zero_point = rewriter.create<TF::ConstOp>( loc, zero_point_type, DenseIntElementsAttr::get(zero_point_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0)