Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for dy (0.02 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/duration/duration.go

    	} else if hours < 24*365*2 {
    		return fmt.Sprintf("%dd", hours/24)
    	} else if hours < 24*365*8 {
    		dy := int(hours/24) % 365
    		if dy == 0 {
    			return fmt.Sprintf("%dy", hours/24/365)
    		}
    		return fmt.Sprintf("%dy%dd", hours/24/365, dy)
    	}
    	return fmt.Sprintf("%dy", int(hours/24/365))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 09:44:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/testdata/hist.go

    	tinycall()                // this forces l etc to stack
    	dx := l.end.x - l.begin.x //gdb-dbg=(l.begin.x,l.end.y)//gdb-opt=(l,dx/O,dy/O)
    	dy := l.end.y - l.begin.y //gdb-opt=(dx,dy/O)
    	sink = dx + dy            //gdb-opt=(dx,dy)
    	// For #21098
    	hist := make([]int, 7)                                //gdb-opt=(dx/O,dy/O) // TODO sink is missing if this code is in 'test' instead of 'main'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 18:05:07 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/testdata/hist.gdb-opt.nexts

    l = {begin = {x = 1, y = 2}, end = {x = 3, y = 4}}
    dx = <Optimized out, as expected>
    dy = <Optimized out, as expected>
    60:		dy := l.end.y - l.begin.y //gdb-opt=(dx,dy/O)
    dx = 2
    dy = <Optimized out, as expected>
    61:		sink = dx + dy            //gdb-opt=(dx,dy)
    dx = 2
    dy = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 04 20:41:52 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/testdata/hist.gdb-dbg.nexts

    59:		dx := l.end.x - l.begin.x //gdb-dbg=(l.begin.x,l.end.y)//gdb-opt=(l,dx/O,dy/O)
    l.begin.x = 1
    l.end.y = 4
    60:		dy := l.end.y - l.begin.y //gdb-opt=(dx,dy/O)
    61:		sink = dx + dy            //gdb-opt=(dx,dy)
    63:		hist := make([]int, 7)                                //gdb-opt=(dx/O,dy/O) // TODO sink is missing if this code is in 'test' instead of 'main'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 04 20:41:52 UTC 2019
    - 4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/testdata/hist.dlv-dbg.nexts

    58:		tinycall()                // this forces l etc to stack
    59:		dx := l.end.x - l.begin.x //gdb-dbg=(l.begin.x,l.end.y)//gdb-opt=(l,dx/O,dy/O)
    60:		dy := l.end.y - l.begin.y //gdb-opt=(dx,dy/O)
    61:		sink = dx + dy            //gdb-opt=(dx,dy)
    63:		hist := make([]int, 7)                                //gdb-opt=(dx/O,dy/O) // TODO sink is missing if this code is in 'test' instead of 'main'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 23 18:05:07 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/testdata/hist.dlv-opt.nexts

    58:		tinycall()                // this forces l etc to stack
    59:		dx := l.end.x - l.begin.x //gdb-dbg=(l.begin.x,l.end.y)//gdb-opt=(l,dx/O,dy/O)
    60:		dy := l.end.y - l.begin.y //gdb-opt=(dx,dy/O)
    61:		sink = dx + dy            //gdb-opt=(dx,dy)
    63:		hist := make([]int, 7)                                //gdb-opt=(dx/O,dy/O) // TODO sink is missing if this code is in 'test' instead of 'main'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 04 20:41:52 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  7. tensorflow/cc/gradients/resource_variable_grad_test.cc

      auto temp = ReadVariableOp(scope, var, DT_FLOAT);
    
      auto y = Mul(scope, temp, x);
    
      auto dy = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape));
    
      OutputList dxs;
      TF_ASSERT_OK(AddSymbolicGradients(scope, {y}, {var}, {dy}, &dxs));
    
      ClientSession::FeedType feed_list;
      feed_list.insert({x, 5.0f});
      feed_list.insert({dy, 1.0f});
    
      std::vector<Tensor> dxout;
      ClientSession session(scope);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 14 15:30:48 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/cc/framework/gradient_checker.h

    namespace tensorflow {
    
    /// Returns in 'max_error' the maximum element-wise error for dy/dx between the
    /// computed and numeric Jacobian matrices where 'xs' and 'ys' are tensors.
    /// X_T and Y_T are the c++ types for the x and y tensors, and JAC_T is a
    /// real-valued type to store the Jacobian derivatives dy/dx.
    /// This function adds operations to the graph associated with 'scope'.
    ///
    /// Examples:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:35:17 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    		y = y[1:] // skip - or .
    		var dx, dy string
    		dx, x = nextIdent(x)
    		dy, y = nextIdent(y)
    		if dx != dy {
    			ix := isNum(dx)
    			iy := isNum(dy)
    			if ix != iy {
    				if ix {
    					return -1
    				} else {
    					return +1
    				}
    			}
    			if ix {
    				if len(dx) < len(dy) {
    					return -1
    				}
    				if len(dx) > len(dy) {
    					return +1
    				}
    			}
    			if dx < dy {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. internal/s3select/sql/timestampfuncs.go

    	}
    
    	duration := ts2.Sub(ts1)
    	y1, m1, d1 := ts1.Date()
    	y2, m2, d2 := ts2.Date()
    
    	switch timePart {
    	case timePartYear:
    		dy := int64(y2 - y1)
    		if m2 > m1 || (m2 == m1 && d2 >= d1) {
    			return FromInt(dy), nil
    		}
    		return FromInt(dy - 1), nil
    	case timePartMonth:
    		m1 += time.Month(12 * y1)
    		m2 += time.Month(12 * y2)
    
    		return FromInt(int64(m2 - m1)), nil
    	case timePartDay:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top