- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for QuantizationConfig (0.35 sec)
-
tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc
using ::mlir::quant::stablehlo::WeightOnlyPtqComponent; using ::stablehlo::quantization::Method; using ::stablehlo::quantization::PopulateDefaults; using ::stablehlo::quantization::QuantizationConfig; using ::tensorflow::SignatureDef; using ::tensorflow::quantization::PyFunctionLibrary; // Returns signature key -> `SignatureDef` mapping, excluding the signature for
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 10:49:12 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.cc
#include "tensorflow/core/protobuf/meta_graph.pb.h" #include "tensorflow/core/protobuf/saver.pb.h" #include "tsl/platform/statusor.h" namespace mlir::quant::stablehlo { using ::stablehlo::quantization::QuantizationConfig; using ::tensorflow::SignatureDef; using ::tensorflow::quantization::ExportedModel; using ::tensorflow::quantization::PyFunctionLibrary; StaticRangePtqComponent::StaticRangePtqComponent(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/pre_calibration.cc
namespace mlir::quant::stablehlo { using ::stablehlo::quantization::QuantizationConfig; using ::tensorflow::quantization::RunPasses; PreCalibrationComponent::PreCalibrationComponent( absl::Nonnull<MLIRContext*> ctx) : ctx_(ABSL_DIE_IF_NULL(ctx)) {} // Crash OK absl::StatusOr<ModuleOp> PreCalibrationComponent::Run( ModuleOp module_op, const QuantizationConfig& config) { TF_RETURN_IF_ERROR(RunPasses(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 09:28:53 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_pre_calibration_component.cc
namespace { using ::stablehlo::quantization::ExpandPresets; using ::stablehlo::quantization::PopulateDefaults; using ::stablehlo::quantization::QuantizationConfig; class TestPreCalibrationComponentPass : public impl::TestPreCalibrationComponentPassBase< TestPreCalibrationComponentPass> { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 21:41:08 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.cc
using ::stablehlo::quantization::QuantizationConfig; using ::stablehlo::quantization::QuantizationSpecs; using ::tensorflow::quantization::RunPasses; PostCalibrationComponent::PostCalibrationComponent( absl::Nonnull<MLIRContext*> ctx) : ctx_(ABSL_DIE_IF_NULL(ctx)) {} // Crash OK absl::StatusOr<ModuleOp> PostCalibrationComponent::Run( ModuleOp module_op, const QuantizationConfig& config) { TF_RETURN_IF_ERROR(RunPasses(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.h
explicit WeightOnlyPtqComponent(absl::Nonnull<MLIRContext*> ctx); absl::StatusOr<ModuleOp> Run( ModuleOp module_op, const ::stablehlo::quantization::QuantizationConfig& config) override; private: absl::Nonnull<MLIRContext*> ctx_; }; // Runs weight-only quantization on a SavedModel at // `src_saved_model_path` and saves the resulting model to // `dst_saved_model_path`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 12:18:22 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/pre_calibration_test.cc
namespace mlir::quant::stablehlo { namespace { using ::stablehlo::quantization::ExpandPresets; using ::stablehlo::quantization::PopulateDefaults; using ::stablehlo::quantization::QuantizationConfig; using ::testing::Contains; using ::testing::SizeIs; using ::testing::StartsWith; using ::testing::StrEq; using ::tsl::testing::IsOk; // Matches an operation whose `getSymName` equals `name`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 21:41:08 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.h
// Runs the static-range post-training quantization (PTQ) on `module_op`. absl::StatusOr<ModuleOp> Run( ModuleOp module_op, const ::stablehlo::quantization::QuantizationConfig& config) override; private: // A non-owning `MLIRContext`. This `MLIRContext` should exceed the lifetime // of `StaticRangePtqComponent`. absl::Nonnull<MLIRContext*> ctx_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 19 02:44:03 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h
tensorflow::calibrator::CalibrationStatistics> {}; template <> struct type_caster<stablehlo::quantization::QuantizationConfig> : public internal::SerializedProtobufCaster< stablehlo::quantization::QuantizationConfig> {}; template <> struct type_caster<tensorflow::quantization::RepresentativeDatasetFile> : public internal::SerializedProtobufCaster<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.h
absl::StatusOr<mlir::ModuleOp> RunQuantization( const SavedModelBundle* saved_model_bundle, absl::string_view saved_model_dir, const std::unordered_set<std::string>& saved_model_tags, const stablehlo::quantization::QuantizationConfig& quantization_config, const tensorflow::quantization::PyFunctionLibrary* quantization_py_function_lib, mlir::ModuleOp module_op); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 19 02:44:03 UTC 2024 - 2.7K bytes - Viewed (0)