Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 370 for quantization (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.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/exported_model.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tensorflow/core/framework/graph.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_post_calibration_component.cc

    #include "tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.h"  // IWYU pragma: keep
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.h"  // IWYU pragma: keep
    #include "tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.h

    ==============================================================================*/
    
    // This file provides a list of supported quantization algorithms in the format
    // of "apply<Name of the Quantization Algorithm>Quantization".
    // After applying the function, a quantize/dequantize functions are created
    // where the body of each function contains a specific quantization algorithm.
    // The input of the quantize function has one operand of
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 07:44:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top