Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 193 for Quantile (0.46 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_xla.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions='quantization-method=ptq target-opset=XLA' | FileCheck %s
    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions='quantization-method=ptq target-opset=XLA enable-per-channel-quantization=true' | FileCheck --check-prefix=PerChannel %s
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions.mlir

    // CHECK-DAG: %[[w_quant:.*]] = "tf.Const"() <{value = dense<{{\[\[\[\[}}40, 20]
    // CHECK-DAG: {{\[\[\[}}-87, -42]
    
    // CHECK: %[[quantize:.*]] = "tf.PartitionedCall"(%arg0, %[[in_scale]], %[[in_zp]])
    // CHECK-SAME: f = @quantize_i8
    // CHECK: %[[conv_quant:.*]] = "tf.PartitionedCall"(%[[quantize]], %[[w_quant]], %[[b_quant]],
    // CHECK-SAME: %[[in_scale]], %[[in_zp]], %[[w_scale]], %[[w_zp]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/mmu.go

    	for i := 0; i < samples; i++ {
    		window := time.Duration(math.Exp(float64(i)/(samples-1)*(logMax-logMin) + logMin))
    		if quantiles == nil {
    			plot[i] = make([]float64, 2)
    			plot[i][1] = mmuCurve.MMU(window)
    		} else {
    			plot[i] = make([]float64, 1+len(quantiles))
    			copy(plot[i][1:], mmuCurve.MUD(window, quantiles))
    		}
    		plot[i][0] = float64(window)
    	}
    
    	// Create JSON response.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
          assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes);
          for (int i : indexes) {
            assertWithMessage("Mismatch between %s and %s at %s", algorithm, REFERENCE_ALGORITHM, i)
                .that(quantiles.get(i))
                .isWithin(ALLOWED_ERROR)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.h

    // 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
    // IsValueWithQuantizablePrecision and the output is a tensor with supported
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 07:44:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/tf_to_quant_4bit.mlir

      func.return %rst : tensor<8xf32>
    
    // CHECK: %[[CONSTANT:.*]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<8xf32>}>
    // CHECK: %[[QUANTIZE:.*]] = "quantfork.qcast"(%[[CONSTANT]]) : (tensor<8xf32>) -> tensor<8x!quant.uniform<i4:f32, 1.000000e+00:-8>>
    // CHECK: %[[DEQUANTIZE:.*]] = "quantfork.dcast"(%[[QUANTIZE]])
    // CHECK: return %[[DEQUANTIZE]] : tensor<8xf32>
    }
    
    // CHECK-LABEL: fakeQuantNotFolded
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc

                                           int32_t qmax) {
      auto quantize = [scale, zero_point](float f) {
        return zero_point + static_cast<int32_t>(std::round(f / scale));
      };
    
      if (rmin.has_value() && rmax.has_value()) {
        return {std::max(qmin, quantize(rmin.value())),
                std::min(qmax, quantize(rmax.value()))};
      } else if (rmin.has_value()) {
        return {std::max(qmin, quantize(rmin.value())), qmax};
      } else if (rmax.has_value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 19:57:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_drq.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-lift-quantizable-spots-as-functions -quant-prepare-quantize-drq -quant-quantize='weight-quantization=true' -verify-each=false | FileCheck %s
    
    // -----
    
    module {
      func.func @matmul(%arg0: tensor<1x2x2x3xf32>) -> (tensor<*xf32>) {
        %cst_0 = "tf.Const"() {value = dense<0.000000e+00> : tensor<2x1024xf32>} : () -> tensor<2x1024xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_info.proto

    message QuantizationInfo {
      // min/max of the per axis value range. To quantize the value, the metadata
      // of the target properties should be specified or read from the ops
      // quantization specification.
      message MinMax {
        float min = 1;
        float max = 2;
      }
    
      // Affine parameters to quantize the per axis value. The metadata of the
      // target properties should be specified as well.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 03:45:04 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-quantize-weights";
      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Quantize weights used by quantizable ops.";
      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top