- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for RescaleQuantizedType (0.32 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
return converter.convert(resetEleType); } return converter.convert(quantized_element_type); } // TODO(fengliuai): promote this utility method to mlir QuantOps. TypeAttr RescaleQuantizedType(const Type input, const Attribute factor) { const auto factor_values = dyn_cast_or_null<DenseFPElementsAttr>(factor); if (!factor_values) return {}; const auto element_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
// `factor`. If `input` isn't a quantized type or the `factor` doesn't match the // dimension size of `input` or isn't floating-point, nullptr will be returned. TypeAttr RescaleQuantizedType(Type input, Attribute factor); // Converts the min/max/num_bits/narrow_range information to a // QuantizedType, and then returns the attribute containing the QuantizedType.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
} ElementsAttr ExpandTo4DForDepthwiseConv(Attribute a) { return ExpandTo4DForConvImpl(a, true); } TypeAttr RescaleQtype(Type input, Attribute factor) { return quant::RescaleQuantizedType(input, factor); } // Returns `true` if reducing `axes` in `input` with `keep_dims=true` results in // the specified `shape` and `false` otherwise. static bool ShapeMatchesReduceWithKeepAxes(Value input,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (1)