- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ConvertTFQuantTypes (0.55 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
op, ToLegalType(op.getOutput().getType()), *dense_attr_or); return success(); } }; struct ConvertTFQuantTypes : public impl::ConvertTFQuantTypesBase<ConvertTFQuantTypes> { void runOnOperation() override; }; void ConvertTFQuantTypes::runOnOperation() { TFQuantTypeConverter converter; RewritePatternSet patterns(&getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.td
let dependentDialects = ["TF::TensorFlowDialect", "chlo::ChloDialect", "mhlo::MhloDialect", "tf_type::TFTypeDialect", "quant::QuantizationDialect"]; } def ConvertTFQuantTypes : Pass<"convert-tf-quant-types", "mlir::func::FuncOp"> { let summary = "Replace TensorFlow qint types with int types."; let description = [{ Converts TF ops with qint types to int types. Some UniformQuantized ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 23 01:41:18 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h
// pass. void PopulateLegalizeTfQuantizationPatterns(MLIRContext *context, RewritePatternSet *patterns); // Creates an instance of the ConvertTFQuantTypes pass, which will convert TF // qint types to int types and surround TF UniformQuantized ops with qint <-> // int casts. std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTFQuantTypesPass();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 23 01:41:18 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
.getStorageType()), res_max_clipped); return success(); } }; // This pattern converts qint <-> int CastOp to int -> int ConvertOps. // The former are introduced in ConvertTFQuantTypes pass. The resulting int <-> // int ConvertOps are no-ops and can be removed later in a Canonicalizer pass. class ConvertTfCastOp : public OpConversionPattern<TF::CastOp> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0)