Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for dy (0.02 sec)

  1. tensorflow/cc/framework/gradients.cc

      TF_RETURN_IF_ERROR(Initialize());
    
      // Backward propagation.
      std::vector<Output> dy;
      while (!ready_.empty()) {
        // n has collected all gradients.
        Node* n = ready_.front();
        ready_.pop_front();
    
        // dy[i] is the sum of i-th output's backpropped gradients.
        const int num_y = n->num_outputs();
        dy.clear();
        dy.resize(num_y, {nullptr, 0});
        std::vector<int> no_grad_dy_indices;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

    // Sqrt op patterns.
    //===----------------------------------------------------------------------===//
    
    // SqrtGrad(y, dy) = dy * 0.5 / y
    def LowerSqrtGradOp : Pat<
      (TF_SqrtGradOp $y, $dy),
      (TF_DivOp
        (TF_MulOp $dy, (TF_ConstOp (GetScalarOfFloatType<"0.5"> $dy))),
        $y
      )>;
    
    //===----------------------------------------------------------------------===//
    // TanhGrad op patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/ops/array_ops.cc

    //   backprop such that dx = g(dy). In Python,
    //
    //   ```python
    //   with tf.get_default_graph().gradient_override_map(
    //       {'IdentityN': 'OverrideGradientWithG'}):
    //     y, _ = identity_n([f(x), x])
    //
    //   @tf.RegisterGradient('OverrideGradientWithG')
    //   def ApplyG(op, dy, _):
    //     return [None, g(dy)]  # Do not backprop to f(x).
    //   ```
    Status IdentityN(AbstractContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  7. src/image/geom.go

    func (r Rectangle) String() string {
    	return r.Min.String() + "-" + r.Max.String()
    }
    
    // Dx returns r's width.
    func (r Rectangle) Dx() int {
    	return r.Max.X - r.Min.X
    }
    
    // Dy returns r's height.
    func (r Rectangle) Dy() int {
    	return r.Max.Y - r.Min.Y
    }
    
    // Size returns r's width and height.
    func (r Rectangle) Size() Point {
    	return Point{
    		r.Max.X - r.Min.X,
    		r.Max.Y - r.Min.Y,
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy

                ["-Dfoo=bar", "-Dfoo2=hey buddy", "-Dfoo3=baz"]
    
            fromString("  -Dfoo=\" bar \"  ") == ["-Dfoo= bar "]
            fromString("  -Dx=\"\"  -Dy=\"\n\" ") == ["-Dx=", "-Dy=\n"]
            fromString(" \"-Dx= a b c \" -Dy=\" x y z \" ") == ["-Dx= a b c ", "-Dy= x y z "]
        }
    
        def "understands quoted system properties and jvm opts"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

      }
    
      function panStart(x, y) {
        moved = false;
        panLastX = x;
        panLastY = y;
      }
    
      function panMove(x, y) {
        let dx = x - panLastX;
        let dy = y - panLastY;
        if (Math.abs(dx) <= 2 && Math.abs(dy) <= 2) return; // Ignore tiny moves
    
        moved = true;
        panLastX = x;
        panLastY = y;
    
        // Firefox workaround: get dimensions from parentNode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/math_ops.cc

    // Summary: Computes the gradient for the sqrt of `x` wrt its input.
    //
    // Description:
    //   Specifically, `grad = dy * 0.5 / y`, where `y = sqrt(x)`, and `dy`
    //   is the corresponding input gradient.
    Status SqrtGrad(AbstractContext* ctx, AbstractTensorHandle* const y,
                    AbstractTensorHandle* const dy, AbstractTensorHandle** z,
                    const char* name, const char* raw_device_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 12.2K bytes
    - Viewed (0)
Back to top