Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 137 for Positive (0.27 sec)

  1. tensorflow/cc/gradients/grad_helper.cc

      // should be replaced by 1.
      // We use DynamicStitch to do this.
    
      // input_rank = 4
      auto input_rank = Size(scope, input_shape);
    
      // Normalize any negative indices in the reduction_axes to positive
      // values.
      auto axes = Mod(scope, Add(scope, reduction_axes, input_rank), input_rank);
    
      // This [0..input_rank) range of integers is used in DynamicStitch to
      // first copy input_shape to the result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    	Doc:  Doc,
    	URL:  "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/framepointer",
    	Run:  run,
    }
    
    var (
    	re             = regexp.MustCompile
    	asmWriteBP     = re(`,\s*BP$`) // TODO: can have false positive, e.g. for TESTQ BP,BP. Seems unlikely.
    	asmMentionBP   = re(`\bBP\b`)
    	asmControlFlow = re(`^(J|RET)`)
    )
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	if build.Default.GOARCH != "amd64" { // TODO: arm64 also?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java

            StringBuilder result = new StringBuilder();
    
            // Whereas it doesn't make sense to pass negative values to this method,
            // the duration passed on call sited is often a result of some math, what is not guarantees positive-values-only.
            // So let's make an output more predictable in accidental negative-values scenarios.
            if (duration < 0) {
                result.append("-");
                result.append(formatDurationVeryTerse(-duration));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/math/sin.go

    		PI4C = 2.69515142907905952645e-15 // 0x3ce8469898cc5170,
    	)
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 0):
    		return NaN()
    	}
    
    	// make argument positive
    	sign := false
    	x = Abs(x)
    
    	var j uint64
    	var y, z float64
    	if x >= reduceThreshold {
    		j, z = trigReduce(x)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  5. src/slices/sort.go

    }
    
    // SortFunc sorts the slice x in ascending order as determined by the cmp
    // function. This sort is not guaranteed to be stable.
    // cmp(a, b) should return a negative number when a < b, a positive number when
    // a > b and zero when a == b.
    //
    // SortFunc requires that cmp is a strict weak ordering.
    // See https://en.wikipedia.org/wiki/Weak_ordering#Strict_weak_orderings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:54:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

        }
    
        private final long bytes;
        private final String notation;
    
        private MemoryAmount(long bytes, String notation) {
            Preconditions.checkArgument(bytes > 0, "bytes must be positive");
            this.bytes = bytes;
            this.notation = notation;
        }
    
        public long getBytes() {
            return bytes;
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ConnectionProperties.java

                count = Ints.tryParse(property);
                if (null == count || count < 0) {
                    throw new IllegalArgumentException("System property [" + S3_MAX_ERROR_RETRY + "=" + property + "]  must be a valid positive Integer");
    
                }
            }
            return Optional.fromNullable(count);
        }
    
        public Optional<Integer> getMaxErrorRetryCount() {
            return maxErrorRetryCount;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    		},
    		{
    			desc: "cache of zero size supplied",
    			in:   &KMSConfiguration{CacheSize: &zero},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &zero, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "positive cache size supplied",
    			in:   &KMSConfiguration{CacheSize: &ten},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &ten, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "negative cache size supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/math/atan.go

    		Q4 = +1.945506571482613964425e+02
    	)
    	z := x * x
    	z = z * ((((P0*z+P1)*z+P2)*z+P3)*z + P4) / (((((z+Q0)*z+Q1)*z+Q2)*z+Q3)*z + Q4)
    	z = x*z + x
    	return z
    }
    
    // satan reduces its argument (known to be positive)
    // to the range [0, 0.66] and calls xatan.
    func satan(x float64) float64 {
    	const (
    		Morebits = 6.123233995736765886130e-17 // pi/2 = PIO2 + Morebits
    		Tan3pio8 = 2.41421356237309504880      // tan(3*pi/8)
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/waitgroup.go

    // NOTE: implementations must ensure that it is thread-safe
    // when invoked from multiple goroutines.
    type RequestWaitGroup interface {
    	// Add adds delta, which may be negative, similar to sync.WaitGroup.
    	// If Add with a positive delta happens after Wait, it will return error,
    	// which prevent unsafe Add.
    	Add(delta int) error
    
    	// Done decrements the WaitGroup counter.
    	Done()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 10 21:18:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top