Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 537 for quantization (0.2 sec)

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

    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/context.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

    #define GEN_PASS_DEF_LIFTQUANTIZABLESPOTSASFUNCTIONSPASS
    #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;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions_with_quantization_specs.mlir

    // RUN: stablehlo-quant-opt %s -stablehlo-test-lift-quantizable-spots-as-functions-with-quantization-specs="quantization-specs=disable-all-dot-general" \
    // RUN:   -split-input-file | FileCheck %s --check-prefix=DISABLE-ALL-DOT-GENERAL
    
    // Tests that `composite_dot_general_fn_1` and its corresponding XlaCallModuleOp
    // contains attributes required for quantization, including the
    // `_quantization_method` attribute that contains textpb of `Method`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 18:09:38 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization_lib.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    
    namespace stablehlo::quantization::pywrap {
    
    using ::mlir::quant::stablehlo::QuantizeStaticRangePtq;
    using ::mlir::quant::stablehlo::QuantizeWeightOnlyPtq;
    using ::tensorflow::SignatureDef;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 02:51:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

            input_tensor->quantization->scale.clear();
            input_tensor->quantization->zero_point.clear();
            input_tensor->quantization->min.push_back(-1.0);
            input_tensor->quantization->max.push_back(1.0);
    
            auto& output_tensor = sub_graph->tensors[op->outputs[0]];
            auto shape = output_tensor->shape;
            output_tensor->quantization->scale.clear();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/BUILD

        compatible_with = get_compatible_with_portable(),
        deps = [
            "//tensorflow/compiler/mlir/quantization/common:attrs_and_constraints",
            "//tensorflow/compiler/mlir/quantization/common/quantization_lib",
            "//tensorflow/compiler/mlir/quantization/tensorflow:quantization_options_proto_cc",
            "//tensorflow/compiler/mlir/quantization/tensorflow/ops:uniform_op_quant_spec",
            "//tensorflow/compiler/mlir/tensorflow:tensorflow_types",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.h

    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h"
    
    namespace mlir::quant {
    
    LogicalResult FillAttributesForUniformQuantizedDotOp(
        PatternRewriter& rewriter, Operation* op,
        llvm::StringMap<Attribute>& identifier_to_attr,
        tensorflow::quantization::QuantizationMethod::PresetMethod
            quantization_method,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/passes.td

                  "The minimum number of elements in a weights array required to apply quantization.">,
          Option<"enable_float16_quantization_",
                  "enable-float16-quantization", "bool",
                  "false", "Whether apply float16 quantization. If false, int8 quantization is applied.">,
          Option<"enable_custom_op_quantization_",
                  "enable-custom-op-quantization", "std::string", "",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/BUILD

            "//tensorflow/compiler/mlir/lite/quantization/ir:QuantOps",
            "//tensorflow/compiler/mlir/quantization/common:attrs_and_constraints",
            "//tensorflow/compiler/mlir/quantization/common:func",
            "//tensorflow/compiler/mlir/quantization/common:lift_as_function_call",
            "//tensorflow/compiler/mlir/quantization/common:uniform_quantized_types",
            "//tensorflow/compiler/mlir/quantization/common/ir:QuantOps",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/pre_calibration.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/cc/run_passes.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tsl/platform/errors.h"
    
    namespace mlir::quant::stablehlo {
    
    using ::stablehlo::quantization::QuantizationConfig;
    using ::tensorflow::quantization::RunPasses;
    
    PreCalibrationComponent::PreCalibrationComponent(
        absl::Nonnull<MLIRContext*> ctx)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 09:28:53 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top