- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for tfl_quantizer (0.27 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc
A. Unique TensorFlower <******@****.***> 1718231025 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/BUILD
"@llvm-project//mlir:QuantOps", "@llvm-project//mlir:Support", ], ) # Binary to apply quantization on the annotated files. tf_cc_binary( name = "tfl_quantizer", srcs = [ "tfl_quantizer.cc", ], deps = [ ":quantize_model", "//tensorflow/compiler/mlir/lite/schema:schema_fbs", "//tensorflow/lite:framework",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td
// "qtype" attribute, we should update the type shape in this attribute. def ReorderTransposeDequantQuant : Pat<(TF_TransposeOp:$old_value (TFL_DequantizeOp (TFL_QuantizeOp $input, $qtype)), $perm), (TFL_DequantizeOp (TFL_QuantizeOp (TF_TransposeOp $input, $perm), (UpdateShapeWithAxis<-1> $qtype, $old_value))),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td
// squashed to a requantize op if the scales are different. def : Pat<(TFL_QuantizeOp (TFL_DequantizeOp $in), $qt), (replaceWithValue $in)>; // If the tfl.dequantize op wasn't fused, we shouldn't quantize the floating // point constant. def : Pat<(TFL_DequantizeOp (TFL_QuantizeOp (Arith_ConstantOp F32ElementsAttr:$cst), $qt)), (TFL_ConstOp $cst)>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:10:13 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
(TFL_ExpandDimsOp $input, $dim)>; def LegalizeFakeQuantToDequantizeQuantize : Pat< (TF_FakeQuantWithMinMaxArgsOp $inputs, $min, $max, $num_bits, $narrow_range), (TFL_DequantizeOp (TFL_QuantizeOp $inputs, (ConvertToQuantTypeFromAttrs $inputs, $min, $max, $num_bits, $narrow_range)))>; def LegalizeFill : Pat<(TF_FillOp $arg, $value), (TFL_FillOp $arg, $value)>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
// incorrect placement in the quantization aware training. def MatchHardSwishQuantized : Pat< (TFL_MulOp (TFL_DequantizeOp (TFL_QuantizeOp (TFL_MulOp $x, (TFL_DequantizeOp (TFL_QuantizeOp (TFL_AddOp $x, (Arith_ConstantOp ConstantAttr<RankedF32ElementsAttr<[]>, "3.0f">), TFL_AF_Relu6), $qattr2)), TFL_AF_None), $qattr1)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// def UndoBroadcastFullyConnectedBiasAddWithQDQs : Pat< // (TFL_AddOp $lhs, // (TFL_DequantizeOp // (TFL_QuantizeOp // (Arith_ConstantOp:$const_op $bias), // $qparams)), // $act_fn), // (TFL_AddOp $lhs, // (TFL_DequantizeOp // (TFL_QuantizeOp // (Arith_ConstantOp:$const_op (FlattenTo1D $bias), // $qparams)), // $act_fn),
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/ir/tfl_ops.td
$_state.addAttribute("value", value); $_state.addAttribute("s_param", s_param); $_state.addAttribute("compressed_data", compressed_data); }]> ]; } def TFL_QuantizeOp: TFL_Op<"quantize", [ FirstAttrDerivedResultType, SameOperandsAndResultShape, NoMemoryEffect]> { let summary = "Quantize operator"; let description = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)