Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SqrtGrad (0.29 sec)

  1. tensorflow/c/experimental/ops/update_cpp_ops.sh

      Shape \
      ExpandDims \
      OnesLike
    
    ${generate} \
      --category=math \
      Mul \
      Conj \
      AddV2 \
      MatMul \
      Neg \
      Sum \
      Sub \
      Div \
      DivNoNan \
      Exp \
      Sqrt \
      SqrtGrad \
      Log1p
    
    ${generate} \
      --category=nn \
      SparseSoftmaxCrossEntropyWithLogits \
      ReluGrad \
      Relu \
      BiasAdd \
      BiasAddGrad
    
    ${generate} \
      --category=resource_variable \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/math_ops.cc

      int num_retvals = 1;
      return op_ptr->Execute(absl::MakeSpan(y, 1), &num_retvals);
    }
    
    // Op: SqrtGrad()
    // 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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/math_ops.h

                AbstractTensorHandle** y, const char* name = nullptr,
                const char* raw_device_name = nullptr);
    
    // Computes the gradient for the sqrt of `x` wrt its input.
    Status SqrtGrad(AbstractContext* ctx, AbstractTensorHandle* const y,
                    AbstractTensorHandle* const dy, AbstractTensorHandle** z,
                    const char* name = nullptr,
                    const char* raw_device_name = nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/math_grad.cc

    using tensorflow::ops::Div;
    using tensorflow::ops::DivNoNan;
    using tensorflow::ops::MatMul;
    using tensorflow::ops::Mul;
    using tensorflow::ops::Neg;
    using tensorflow::ops::OnesLike;
    using tensorflow::ops::SqrtGrad;
    
    namespace tensorflow {
    namespace gradients {
    namespace {
    
    static Status SafeConj(AbstractContext* ctx, AbstractTensorHandle* const input,
                           AbstractTensorHandle** output, const char* name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  5. 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
      )>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/math_grad.cc

    REGISTER_GRADIENT_OP("Square", SquareGrad);
    
    Status SqrtGrad(const Scope& scope, const Operation& op,
                    const std::vector<Output>& grad_inputs,
                    std::vector<Output>* grad_outputs) {
      // Use the built-in operator.
      grad_outputs->push_back(
          internal::SqrtGrad(scope, op.output(0), grad_inputs[0]));
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Sqrt", SqrtGrad);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK: %[[RET:.*]] = "tf.Div"(%[[MUL]], %arg0) : (tensor<*xcomplex<f32>>, tensor<*xcomplex<f32>>) -> tensor<*xcomplex<f32>>
    
      %0 = "tf.SqrtGrad"(%arg0, %arg1) : (tensor<*xcomplex<f32>>, tensor<*xcomplex<f32>>) -> tensor<*xcomplex<f32>>
      // CHECK: return %[[RET]]
      func.return %0 : tensor<*xcomplex<f32>>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        static bool isCompatibleReturnTypes(TypeRange inferred, TypeRange actual) {
          return ArraysAreCastCompatible(inferred, actual);
        }
      }];
    }
    
    def TF_SqrtGradOp : TF_Op<"SqrtGrad", [Pure, TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = "Computes the gradient for the sqrt of `x` wrt its input.";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top