Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Scales (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<*xf32>
    }
    
    // -----
    
    func.func @testUniformQuantize(%arg0: tensor<*xf32>, %scales: tensor<2xf32>, %zps: tensor<i32>) -> tensor<*x!tf_type.qint8> {
      // expected-error @below {{'tf.UniformQuantize' op quantization_axis is -1, scales must have 0 rank.}}
       %0 = "tf.UniformQuantize"(%arg0, %scales, %zps) {
        quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

              mlir::dyn_cast<mlir::quant::UniformQuantizedType>(element_type)) {
        std::vector<float> scales = {static_cast<float>(qtype.getScale())};
        std::vector<int64_t> zero_points = {qtype.getZeroPoint()};
        q_params = tflite::CreateQuantizationParameters(
            builder_, /*min=*/0, /*max=*/0, builder_.CreateVector<float>(scales),
            builder_.CreateVector<int64_t>(zero_points));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    }
    
    namespace {
    
    template <typename UniformQuantizedOp>
    LogicalResult VerifyScalesAndZeroPoints(UniformQuantizedOp op, Value scales,
                                            Value zero_points,
                                            int32_t quantization_axis) {
      ShapedType scales_type = scales.getType().cast<ShapedType>();
      ShapedType zero_points_type = zero_points.getType().cast<ShapedType>();
    
      if (quantization_axis == -1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

    // this bias a dummy bias (note that bias fusion is not considered for this
    // transformation). The quantization scale for the bias is input scale *
    // filter scale. `filter_const_op` is used to retrieve the filter scales and
    // the size of the bias constant.
    TFL::QConstOp CreateTflConstOpForDummyBias(
        const Location loc, const double input_scale, TFL::QConstOp filter_const_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        auto result_type = getOutput().getType();
        // central_value = min_value / 2 + (max_value - 1) / 2 + 1
        // zero_point = central_value
        // scale = 1. / (central_value - min_value)
        return quant::GetFixedOutputRange(is_signed, bit_width, result_type,
            /*scale=*/1.0 / (1<<(bit_width-1)), /*zero_point=*/0);
      }
      }];
    }
    
    def TFL_LeakyReluOp: TFL_Op<"leaky_relu", [
        SameOperandsAndResultShape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  6. pkg/controller/podautoscaler/horizontal_test.go

    			scaleDownStabilizationWindowSeconds: 3 * 60,
    		},
    		{
    			// we can reuse only the first recommendation element
    			// as the scale up delay = 150 (set in test), scale down delay = 300 (by default)
    			// hence, only the first recommendation is obsolete for both scale up and scale down
    			name: "scale up stabilization, reuse one of obsolete recommendation element",
    			key:  "",
    			recommendations: []timestampedRecommendation{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    No <a href="#Run_time_panics">run-time panic</a> occurs in this case.
    </p>
    
    
    <h3 id="Calls">Calls</h3>
    
    <p>
    Given an expression <code>f</code> of function type
    <code>F</code>,
    </p>
    
    <pre>
    f(a1, a2, … an)
    </pre>
    
    <p>
    calls <code>f</code> with arguments <code>a1, a2, … an</code>.
    Except for one special case, arguments must be single-valued expressions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-workload-dashboard.json

          "maxDataPoints": 100,
          "options": {
            "colorMode": "none",
            "graphMode": "area",
            "justifyMode": "auto",
            "orientation": "horizontal",
            "reduceOptions": {
              "calcs": [
                "lastNotNull"
              ],
              "fields": "",
              "values": false
            },
            "textMode": "auto"
          },
          "pluginVersion": "10.1.5",
          "targets": [
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 102.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/asm7.go

    	{ACCMN, C_COND, C_ZREG, C_ZREG, C_VCON, C_NONE, 19, 4, 0, 0, 0},
    	{ACCMN, C_COND, C_ZREG, C_VCON, C_VCON, C_NONE, 19, 4, 0, 0, 0},
    	{AFCCMPS, C_COND, C_FREG, C_FREG, C_VCON, C_NONE, 57, 4, 0, 0, 0},
    
    	/* scaled 12-bit unsigned displacement store */
    	{AMOVB, C_ZREG, C_NONE, C_NONE, C_UAUTO4K, C_NONE, 20, 4, REGSP, 0, 0},
    	{AMOVB, C_ZREG, C_NONE, C_NONE, C_UOREG4K, C_NONE, 20, 4, 0, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
Back to top