Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 199 for max8 (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant.mlir

      %min = arith.constant dense<0.0> : tensor<f32>
      %max = arith.constant dense<255.0> : tensor<f32>
      %mini = "tf.Identity"(%min) : (tensor<f32>) -> tensor<f32>
      %maxi = "tf.Identity"(%max) : (tensor<f32>) -> tensor<f32>
      %minc = "tf.Cast"(%mini) : (tensor<f32>) -> tensor<f32>
      %maxc = "tf.Cast"(%maxi) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/prepare-tf-fake-quant-4bit.mlir

      %min = arith.constant dense<0.0> : tensor<f32>
      %max = arith.constant dense<15.0> : tensor<f32>
      %mini = "tf.Identity"(%min) : (tensor<f32>) -> tensor<f32>
      %maxi = "tf.Identity"(%max) : (tensor<f32>) -> tensor<f32>
      %minc = "tf.Cast"(%mini) : (tensor<f32>) -> tensor<f32>
      %maxc = "tf.Cast"(%maxi) : (tensor<f32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc

          maxs[channel_index] = std::max(maxs[channel_index], ele_value);
        }
        // Expand range to include 0.
        for (int i = 0; i < dim_size; ++i) {
          maxs[i] = std::max(maxs[i], 0.0);
          mins[i] = std::min(mins[i], 0.0);
        }
        if (symmetric) {
          for (int i = 0; i < dim_size; ++i) {
            maxs[i] = std::max(std::abs(mins[i]), std::abs(maxs[i]));
            mins[i] = -maxs[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            mins.push_back(rmin);
            maxs.push_back(rmax);
          }
          quant_type = quantfork::fakeQuantAttrsToType(
              op.getLoc(), num_bits, *op.getAxis(), mins, maxs, narrow_range,
              expressed, is_signed);
          if (legacy_float_scale) {
            quant_type = DownCastScale(quant_type, mins, maxs, op->getLoc());
          }
        } else if (auto stats =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

          SmallVector<double, 4> mins(1, std::numeric_limits<double>::max());
          SmallVector<double, 4> maxs(1, std::numeric_limits<double>::min());
          // Computes the effective min/max values of the attribute values.
          quant::ExtractMinMaxFromAttr(attr, /*dim_size=*/1, /*slice_size=*/1,
                                       /*symmetric=*/true, mins, maxs);
          double scale = maxs[0] / -llvm::minIntN(tensor_property.number_of_bits);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. src/internal/trace/gc.go

    	// contributions to the distribution must be beyond the
    	// desired quantile and hence cannot affect it.
    	//
    	// First, find the highest desired distribution quantile.
    	maxQ := quantiles[0]
    	for _, q := range quantiles {
    		if q > maxQ {
    			maxQ = q
    		}
    	}
    	// The distribution's mass is in units of time (it's not
    	// normalized because this would make it more annoying to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir

          %output_6, %min_7, %max_8, %histogram_9 = "tf.CustomAggregator"(%5) <{calibration_method = 1 : i32, id = "1", max_percentile = 0.000000e+00 : f32, min_percentile = 0.000000e+00 : f32, num_bins = 0 : i32}> : (tensor<1x3xf32>) -> (tensor<1x3xf32>, tensor<f32>, tensor<f32>, tensor<0xi64>)...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_custom_aggregation_ops.mlir

    // MIN-MAX-CHECK-NEXT:  return
    
    // MIN-MAX-CHECK: func @composite_conv2d_with_relu6_fn
    // MIN-MAX-CHECK-NEXT:  "tf.Conv2D"
    // MIN-MAX-CHECK-NEXT:  "tf.Relu6"
    // MIN-MAX-CHECK-NEXT:  return
    
    // CalibrationOptions(calibration_method=CALIBRATION_METHOD_AVERAGE_MIN_MAX)
    // AVERAGE-MIN-MAX-CHECK: func @wrap_composite_func
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_test.cc

    TEST(CalibrationStatisticsCollectorTest, SimpleMinMax) {
      auto collector = CalibrationStatisticsCollectorMinMax();
    
      collector.Collect(
          /*min=*/1.0f, /*max=*/10.f, /*histogram=*/{});
      collector.Collect(
          /*min=*/-5.0f, /*max=*/5.f, /*histogram=*/{});
    
      std::optional<CalibrationStatistics> statistics = collector.GetStatistics();
    
      EXPECT_TRUE(statistics.has_value());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    				if sz.Max < math.MaxUint64 {
    					replaceCount.Max = sz.Max + 1
    				} else {
    					replaceCount.Max = sz.Max
    				}
    				// Include the length of the longest possible original string length.
    				retainedSz.Max = sz.Max
    			} else if replaceWithSz.Max <= toReplaceSz.Min {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top