Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 370 for quantization (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/fill_quantization_options_test.cc

    namespace {
    
    using ::stablehlo::quantization::PresetQuantizationMethod;
    using ::stablehlo::quantization::QuantizationComponentSpec;
    using ::stablehlo::quantization::QuantizationOptions;
    
    // Simple implementation of ::testing::EqualsProto equivalent until open source
    // b/135192747 is fixed. Originally from type_to_shape_test.cc.
    class ProtoStringMatcher {
     public:
      explicit ProtoStringMatcher(const tsl::protobuf::Message& expected)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/svdf.mlir

    // CHECK-NEXT:         buffer: 1,
    // CHECK-NEXT:         name: "arg0",
    // CHECK-NEXT:         quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:         },
    // CHECK-NEXT:         has_rank: true
    // CHECK-NEXT:       }, {
    // CHECK-NEXT:         shape: [ 4 ],
    // CHECK-NEXT:         buffer: 2,
    // CHECK-NEXT:         name: "arg1",
    // CHECK-NEXT:         quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:         },
    // CHECK-NEXT:         has_rank: true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_rnn.mlir

    // CHECK-NEXT:         buffer: 1,
    // CHECK-NEXT:         name: "arg0",
    // CHECK-NEXT:         quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:         },
    // CHECK-NEXT:         has_rank: true
    // CHECK-NEXT:       }, {
    // CHECK-NEXT:         shape: [ 4 ],
    // CHECK-NEXT:         buffer: 2,
    // CHECK-NEXT:         name: "arg1",
    // CHECK-NEXT:         quantization: {
    // CHECK-EMPTY:
    // CHECK-NEXT:         },
    // CHECK-NEXT:         has_rank: true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_average_min_max.h

    #include <optional>
    
    #include "absl/types/span.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/calibrator/calibration_statistics_collector_base.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 03:57:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/unfreeze_constants.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    #include "tensorflow/core/platform/env.h"
    #include "tsl/platform/errors.h"
    #include "tsl/platform/status.h"
    #include "tsl/platform/statusor.h"
    
    namespace tensorflow {
    namespace quantization {
    
    // Unfreezes constants into variables and saves them to a checkpoint files under
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 11:07:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.cc

    #include "tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace quant {
    
    // TODO - b/296503614: [Converter Component][TF-Quantizer] Reflect custom traits
    // from TF-Quantizer to stableHLO quantization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.h

    #include "tensorflow/core/public/session.h"
    
    namespace tensorflow {
    namespace quantization {
    
    // Default MLIR dump file prefix for TensorFlow quantization passes.
    inline constexpr absl::string_view kDefaultTfQuantMlirDumpFilePrefix =
        "tf_quant";
    
    // Preprocesses the `module_op` for quantization. The preprocess steps include
    // freezing the variables in the graph into constants. `is_inliner_run`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    
    namespace tensorflow {
    namespace calibrator {
    namespace {
    
    using ::stablehlo::quantization::CalculateBinIndex;
    using ::stablehlo::quantization::CalculateBinWidth;
    using ::stablehlo::quantization::CalculateLowerBound;
    
    // Gets the histogram frequencies for the given range.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/optional_input.json

                32,
                32,
                3
              ],
              "name": "arg0",
              "quantization": {
              }
            },
            {
              "shape": [
                16,
                3,
                3,
                3
              ],
              "name": "arg1",
              "quantization": {
              }
            },
            {
              "shape": [
                256,
                32,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/min_max_value.h

    #include <utility>
    
    namespace stablehlo::quantization {
    
    // Represents the (min, max) value pair, representing the range of values after
    // calibrating for quantization.
    using MinMaxValue = std::pair<float, float>;
    
    }  // namespace stablehlo::quantization
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 16:32:37 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top