Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SetMax (0.1 sec)

  1. cmd/kube-proxy/app/conntrack.go

    // sysctl fields can be found here:
    //
    // https://www.kernel.org/doc/Documentation/networking/nf_conntrack-sysctl.txt
    type Conntracker interface {
    	// SetMax adjusts nf_conntrack_max.
    	SetMax(ctx context.Context, max int) error
    	// SetTCPEstablishedTimeout adjusts nf_conntrack_tcp_timeout_established.
    	SetTCPEstablishedTimeout(ctx context.Context, seconds int) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/server_linux.go

    func (s *ProxyServer) setupConntrack(ctx context.Context) error {
    	ct := &realConntracker{}
    
    	max, err := getConntrackMax(ctx, s.Config.Conntrack)
    	if err != nil {
    		return err
    	}
    	if max > 0 {
    		err := ct.SetMax(ctx, max)
    		if err != nil {
    			if err != errReadOnlySysFS {
    				return err
    			}
    			// errReadOnlySysFS is caused by a known docker issue (https://github.com/docker/docker/issues/24000),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/ir/ConvertSimQuant.cc

        SmallVector<double, 4> min, max;
        min.reserve(fqOp.getMin().size());
        max.reserve(fqOp.getMax().size());
        for (auto m : fqOp.getMin())
          min.push_back(cast<FloatAttr>(m).getValueAsDouble());
        for (auto m : fqOp.getMax())
          max.push_back(cast<FloatAttr>(m).getValueAsDouble());
    
        return fakeQuantAttrsToType(fqOp.getLoc(), fqOp.getNumBits(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
        Value min = tf_op.getMin(), max = tf_op.getMax();
        DenseFPElementsAttr min_value, max_value;
        if (auto id1 = dyn_cast_or_null<TF::IdentityOp>(min.getDefiningOp())) {
          id1.replaceAllUsesWith(id1.getInput());
          min = tf_op.getMin();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStats.java

            // Maximum pool size is fixed, so we should only need to get it from the first event
            GarbageCollectionEvent first = events.iterator().next();
            return first.getUsage().getMax();
        }
    
        public double getGcRate() {
            return gcRate;
        }
    
        public int getUsedPercent() {
            return usedPercent;
        }
    
        public long getMaxSizeInBytes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

        ids.push_back(op.getId());
        calibration_methods.push_back(op.getCalibrationMethod());
        statistics_outputs.push_back(op.getMin());
        statistics_outputs.push_back(op.getMax());
        statistics_outputs.push_back(op.getHistogram());
      }
    }
    
    // Inserts a `CalibrationStatisticsSaverOp` to the end of the region.
    LogicalResult InsertCalibrationStatisticsSaverOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

                  quant::DownCastScale(qtype, calibrated_type.getMin(),
                                       calibrated_type.getMax(), op.getLoc()));
            }
          } else if (tensor_property.number_of_bits == 16) {
            double max = std::max(std::abs(calibrated_type.getMin()),
                                  std::abs(calibrated_type.getMax()));
            qtype = quantfork::fakeQuantAttrsToType(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            return average;
        }
    
        public Amount<Q> getMedian() {
            return median;
        }
    
        public Amount<Q> getMin() {
            return min;
        }
    
        public Amount<Q> getMax() {
            return max;
        }
    
        public Amount<Q> getStandardError() {
            return standardError;
        }
    
        public static double confidenceInDifference(DataSeries first, DataSeries second) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

    struct FetchConstantMinMaxInputs {
      using AttrType = DenseFPElementsAttr;
      bool operator()(TFFakeQuantOp tf_op, AttrType &min_value,
                      AttrType &max_value) const {
        Value min = tf_op.getMin(), max = tf_op.getMax();
        if (!matchPattern(min, m_Constant(&min_value))) {
          return false;
        }
        if (!matchPattern(max, m_Constant(&max_value))) {
          return false;
        }
        return true;  // Successfully matched and fetched.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

    struct FetchConstantMinMaxInputs {
      using AttrType = DenseFPElementsAttr;
      bool operator()(TFFakeQuantOp tf_op, AttrType &min_value,
                      AttrType &max_value) const {
        Value min = tf_op.getMin(), max = tf_op.getMax();
        if (auto min_id = min.getDefiningOp<TF::IdentityOp>()) {
          min = min_id.getInput();
        }
        if (auto max_id = max.getDefiningOp<TF::IdentityOp>()) {
          max = max_id.getInput();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top