Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for QuantizationConfig (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

    using ::testing::Truly;
    
    TEST(PopulateDefaultsTest, PopulateDefaultsForEmptyConfig) {
      QuantizationConfig config{};
    
      const QuantizationConfig new_config = PopulateDefaults(config);
      EXPECT_TRUE(new_config.pipeline_config().unpack_quantized_types());
    }
    
    TEST(PopulateDefaultsTest, PopulateDefaultsForConfigWithUnpackQuantizedTypes) {
      QuantizationConfig config{};
      config.mutable_pipeline_config()->set_unpack_quantized_types(false);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

                         exported_model.status().message()));
      }
    
      return *exported_model;
    }
    
    QuantizationConfig GetQuantizationConfigForStaticRangePtq(
        const QuantizationOptions &quantization_options) {
      QuantizationConfig quantization_config{};
      // TODO: b/331302857 - Remove `enable_per_channel_quantized_weight` usage.
      quantization_config.mutable_static_range_ptq_preset()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto

    // message containing all configurable options.
    // Next ID: 9
    message QuantizationConfig {
      // Config presets provide predefined popular or common quantization specs.
      // Lightweight users may choose one of the presets for quick experiments. Each
      // preset is completely represented by other fields in `QuantizationConfig`.
      //
      // When extra entries in `QuantizationSpecs` are provided along with a preset,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

    namespace tensorflow {
    namespace {
    
    using mlir::MLIRContext;
    using mlir::ModuleOp;
    using mlir::Operation;
    using mlir::OwningOpRef;
    using ::stablehlo::quantization::QuantizationConfig;
    using ::tensorflow::quantization::PyFunctionLibrary;
    
    bool IsControlFlowV1Op(Operation* op) {
      return mlir::isa<mlir::tf_executor::SwitchOp, mlir::tf_executor::MergeOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top