Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for x_1 (0.15 sec)

  1. tensorflow/cc/gradients/math_grad.cc

      auto x_1 = ConjugateHelper(scope, op.input(0));
      auto x_2 = ConjugateHelper(scope, op.input(1));
      // y = (x_1 - x_2)^2
      // dy/dx_1 = 2 * (x_1 - x_2)
      // dy/dx_2 = -2 * (x_1 - x_2)
      auto two = Cast(scope, Const(scope, 2), grad_inputs[0].type());
      auto gx_1 = Mul(scope, grad_inputs[0], Mul(scope, two, Sub(scope, x_1, x_2)));
      auto gx_2 = Neg(scope, gx_1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    "top" function is configurable.
    
    For example, the code
      x.a()
      x.b()
      %c = y.c()
      x.d(%c)
    would be transformed into something like
      call @x_1()
      %c = call @y_1()
      call @x_2(%c)
    with @x_1, @x_2 and @y_1 filled in.
    ### `-tf-guarantee-all-funcs-one-use`
    
    _Guarantee all FuncOp's have only a single use._
    
    ### `-tf-hoist-loop-invariant`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
Back to top