- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 321 for quantization (0.36 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.h
#include "mlir/Pass/PassManager.h" // from @llvm-project #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/component.h" #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h" namespace mlir::quant::stablehlo { // Performs post-calibration graph transformation as part of post-training // static-range quantization. // // The resulting `ModuleOp` contains quantized StableHLO ops serialized in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 12:53:33 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.h
#include <optional> #include "absl/types/span.h" #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.pb.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_base.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h" namespace tensorflow {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 05 03:57:26 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc
#include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h" // IWYU pragma: keep - required to use `IsSplatValueEqual`. #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" namespace mlir::quant { namespace { // Applies optimization after quantization. class OptimizePass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.h
std::optional<tensorflow::quantization::QuantizationComponentSpec> GetWeightComponentSpec( const tensorflow::quantization::QuantizationOptions& quantization_options); // Returns the spec for the given operation that can be used for both of // dynamic and static range quantization. std::unique_ptr<OpQuantSpec> GetTFOpQuantSpec(Operation* op); // Returns quantization scale specs (fixed output, same scale) for a TF op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/debugger.cc
==============================================================================*/ #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/debugger.h" #include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "mlir/Support/LLVM.h" // from @llvm-project #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.h" namespace stablehlo::quantization { void DisableDebugging(mlir::ModuleOp module_op) { module_op.walk(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 00:17:12 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/empty_input_output_names.json
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 21:03:18 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.h
#include "tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h" namespace mlir::quant::stablehlo { // Returns StableHLO quantization specs for an op. std::unique_ptr<OpQuantSpec> GetStableHloOpQuantSpec(Operation* op); // Returns quantization constraints (ex: fixed output, same scale) given
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 05:11:03 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/representative_dataset.cc
namespace stablehlo::quantization { using ::tensorflow::quantization::RepresentativeDatasetFile; absl::StatusOr<absl::flat_hash_map<std::string, RepresentativeDatasetFile>> CreateRepresentativeDatasetFileMap(absl::Span<const RepresentativeDatasetConfig> representative_dataset_configs) { absl::flat_hash_map<std::string, RepresentativeDatasetFile>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 29 04:53:21 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/representative_dataset.h
#include "absl/container/flat_hash_map.h" #include "absl/status/statusor.h" #include "absl/types/span.h" #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h" namespace stablehlo::quantization { // Translates a set of `RepresentativeDatsetConfig` to signature key -> // `RepresentativeDatasetFile` mapping. This is useful when using
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 29 04:53:21 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantize_passes.h
#define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_QUANTIZE_PASSES_H_ #include "mlir/Pass/PassManager.h" // from @llvm-project #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.pb.h" namespace stablehlo { namespace quantization { // Adds passes for quantization of individual quantizable components. // (i.e. activation, weight, bias) void AddQuantizationPasses(mlir::PassManager& pass_manager,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 22 12:03:14 UTC 2023 - 1.4K bytes - Viewed (0)