Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for QuantizationSpec (0.2 sec)

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

        default:
          break;
      }
    }
    
    // Returns a default `QuantizationSpec` for performing static-range PTQ on all
    // ops.
    //
    // In textproto, the spec corresponds to:
    //
    // {
    //   {matcher {function_name {regex: ".*"}}
    //   {method {static_range_ptq {}}}
    // }
    QuantizationSpec GetDefaultStaticRangePtqSpec(StaticRangePtqPreset preset) {
      QuantizationSpec spec{};
      // Default for all ops.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h

    //   `calibration_options`. In that case, the explicit configs take precedence
    //   and the preset's configs are ignored.
    //   - For `QuantizationSpecs`, the expanded `QuantizationSpec`s will be
    //   populated first and user-provided `QuantizationSpec`s, if any, will be
    //   appended. This expresses the fact that user-provided specs take precedence.
    // * Preset unspecified
    //   - No-op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h.inc"
    
    namespace {
    
    using ::stablehlo::quantization::FunctionNameMatcherSpec;
    using ::stablehlo::quantization::Method;
    using ::stablehlo::quantization::QuantizationSpec;
    using ::stablehlo::quantization::QuantizationSpecs;
    using ::tsl::protobuf::TextFormat;
    
    // TODO - b/303543789: Move the helper functions below to a separate util.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top