Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 284 for x1 (0.08 sec)

  1. tensorflow/cc/gradients/math_grad_test.cc

      TensorShape shape({3, 2, 5});
      auto x1 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      // Test with x2 = 1 + |x1| to avoid regions where the gradient
      // is unstable and might cause problems for the numeric estimator.
      auto x2 =
          Div(scope_, x1, Add(scope_, Const<float>(scope_, 1), Abs(scope_, x1)));
      auto y = Atan2(scope_, x1, x2);
      RunTest({x1}, {shape}, {y}, {shape});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  2. src/image/geom.go

    var ZR Rectangle
    
    // Rect is shorthand for [Rectangle]{Pt(x0, y0), [Pt](x1, y1)}. The returned
    // rectangle has minimum and maximum coordinates swapped if necessary so that
    // it is well-formed.
    func Rect(x0, y0, x1, y1 int) Rectangle {
    	if x0 > x1 {
    		x0, x1 = x1, x0
    	}
    	if y0 > y1 {
    		y0, y1 = y1, y0
    	}
    	return Rectangle{Point{x0, y0}, Point{x1, y1}}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. test/escape_field.go

    	var x X
    	// BAD: &i should not escape
    	x.p1 = &i
    	var iface interface{} = x // ERROR "x does not escape"
    	x1 := iface.(X)
    	sink = x1.p2
    }
    
    func field17() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	x.p1 = &i
    	var iface interface{} = x // ERROR "x does not escape"
    	x1 := iface.(X)
    	sink = x1.p1
    }
    
    func field18() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	// BAD: &i should not escape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  4. test/typeparam/boundmethod.go

    		f2 := func(v1 T) string {
    			return Stringer(v1).String()
    		}
    		x4 := f2(v)
    
    		if x1 != x2 || x2 != x3 || x3 != x4 {
    			panic(fmt.Sprintf("Mismatched values %v, %v, %v, %v\n", x1, x2, x3, x4))
    		}
    
    		ret = append(ret, v.String())
    	}
    	return ret
    }
    
    type Ints interface {
    	~int32 | ~int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 14:29:30 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/avx512enc/avx512_vbmi2.s

    	VPSHLDVD X15, X1, K7, X7                           // 62d2750f71ff
    	VPSHLDVD X12, X1, K7, X7                           // 62d2750f71fc
    	VPSHLDVD X0, X1, K7, X7                            // 62f2750f71f8
    	VPSHLDVD 7(AX), X1, K7, X7                         // 62f2750f71b807000000
    	VPSHLDVD (DI), X1, K7, X7                          // 62f2750f713f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 22 14:57:15 UTC 2018
    - 97.1K bytes
    - Viewed (0)
  6. src/runtime/preempt_386.s

    	MOVUPS X0, 28(SP)
    	MOVUPS X1, 44(SP)
    	MOVUPS X2, 60(SP)
    	MOVUPS X3, 76(SP)
    	MOVUPS X4, 92(SP)
    	MOVUPS X5, 108(SP)
    	MOVUPS X6, 124(SP)
    	MOVUPS X7, 140(SP)
    	#endif
    	CALL ·asyncPreempt2(SB)
    	#ifndef GO386_softfloat
    	MOVUPS 140(SP), X7
    	MOVUPS 124(SP), X6
    	MOVUPS 108(SP), X5
    	MOVUPS 92(SP), X4
    	MOVUPS 76(SP), X3
    	MOVUPS 60(SP), X2
    	MOVUPS 44(SP), X1
    	MOVUPS 28(SP), X0
    	#endif
    	MOVL 24(SP), DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 824 bytes
    - Viewed (0)
  7. test/fixedbugs/issue12577.go

    // Issue 12577: Test that there are no -0 floating-point constants.
    
    package main
    
    import "math"
    
    const (
    	z0 = 0.0
    	z1 = -0.0
    	z2 = -z0
    	z3 = -z2
    )
    
    var (
    	x0 float32 = z0
    	x1 float32 = z1
    	x2 float32 = z2
    	x3 float32 = z3
    
    	y0 float64 = z0
    	y1 float64 = z1
    	y2 float64 = z2
    	y3 float64 = z3
    )
    
    func test32(f float32) {
    	if f != 0 || math.Signbit(float64(f)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 22:11:11 UTC 2015
    - 1011 bytes
    - Viewed (0)
  8. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/VersionCatalogGeneratorTest.groovy

            versionCatalogFile.text == toPlatformLineSeparators("""$COMMON_START
    [versions]
    group-long = "1.1"
    group-long-x1 = "1.2"
    
    [libraries]
    group-long = { module = "group:long", version.ref = "group-long" }
    group-long-x1 = { module = "group:long", version.ref = "group-long-x1" }
    """)
        }
    
        def "generates valid identifiers"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/addressed_test.go

    //
    //go:noinline
    func (v V) autos_ssa(which, w1, x1, w2, x2 int64) (y, z V) {
    	fill_ssa(v.w, v.x, &v, v.p) // gratuitous no-op to force addressing
    	var a, b, c, d, e, f, g, h V
    	fill_ssa(w1, x1, &a, &b)
    	fill_ssa(w1, x2, &b, &c)
    	fill_ssa(w1, v.x, &c, &d)
    	fill_ssa(w2, x1, &d, &e)
    	fill_ssa(w2, x2, &e, &f)
    	fill_ssa(w2, v.x, &f, &g)
    	fill_ssa(v.w, x1, &g, &h)
    	fill_ssa(v.w, x2, &h, &a)
    	switch which {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. src/go/printer/testdata/expressions.input

    	f(b.buf[0:b.off+m+n])
    
    	signed += ' '*8
    	tw.octal(header[148:155], chksum)
    
    	_ = x > 0 && i >= 0
    
    	x1, x0 := x>>w2, x&m2
    	z0 = t1<<w2+t0
    	z1 = (t1+t0>>w2)>>w2
    	q1, r1 := x1/d1, x1%d1
    	r1 = r1*b2 | x0>>w2
    	x1 = (x1<<z)|(x0>>(uint(w)-z))
    	x1 = x1<<z | x0>>(uint(w)-z)
    
    	_ = buf[0:len(buf)+1]
    	_ = buf[0:n+1]
    
    	a,b = b,a
    	a = b+c
    	a = b*c+d
    	_ = a*b+c
    	_ = a-b-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 16:41:54 UTC 2017
    - 12.1K bytes
    - Viewed (0)
Back to top