Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 555 for max8 (0.07 sec)

  1. src/cmd/compile/internal/ssa/likelyadjust.go

    	initializedChildren, initializedDepth, initializedExits bool
    }
    
    func min8(a, b int8) int8 {
    	if a < b {
    		return a
    	}
    	return b
    }
    
    func max8(a, b int8) int8 {
    	if a > b {
    		return a
    	}
    	return b
    }
    
    const (
    	blDEFAULT = 0
    	blMin     = blDEFAULT
    	blCALL    = 1
    	blRET     = 2
    	blEXIT    = 3
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  2. src/encoding/gob/codec_test.go

    	type inputT struct {
    		Maxi int64
    		Mini int64
    		Maxu uint64
    		Maxf float64
    		Minf float64
    		Maxc complex128
    		Minc complex128
    	}
    	var it inputT
    	var err error
    	b := new(bytes.Buffer)
    	enc := NewEncoder(b)
    	dec := NewDecoder(b)
    
    	// int8
    	b.Reset()
    	it = inputT{
    		Maxi: math.MaxInt8 + 1,
    	}
    	type outi8 struct {
    		Maxi int8
    		Mini int8
    	}
    	var o1 outi8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 19 23:03:14 UTC 2023
    - 36.9K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

            if (!attributes.isEmpty()) {
                Integer max = attributes.stream().map(attr -> attr.getName().length()).max(Integer::compare).orElse(0);
                printSection("Attributes", () -> attributes.forEach(attr -> writeAttribute(max, attr, false)));
            }
        }
    
        private void writeAttribute(Integer max, ReportAttribute attr, boolean includePrecedence) {
            indent(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/runtime/mgcscavenge_test.go

    			scavenged: []BitRange{{1, 10}},
    			min:       m,
    			max:       3 * m,
    			want:      BitRange{128, 3 * uint(m)},
    		}
    		tests["Max0"+suffix] = test{
    			scavenged: []BitRange{{0, PallocChunkPages - uint(m)}},
    			min:       m,
    			max:       0,
    			want:      BitRange{PallocChunkPages - uint(m), uint(m)},
    		}
    		if m <= 8 {
    			tests["OneFree"] = test{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top