- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Atan2Grad (0.11 sec)
-
tensorflow/cc/gradients/math_grad.cc
auto dx = Mul(scope, grad_inputs[0], dydx); grad_outputs->push_back(dx); return scope.status(); } REGISTER_GRADIENT_OP("Atan", AtanGrad); Status Atan2Grad(const Scope& scope, const Operation& op, const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs) { auto y = op.input(0); auto x = op.input(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) -
tensorflow/cc/gradients/math_grad_test.cc
auto y = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto z = SelectV2(scope_, cond, x, y); RunTest({x, y}, {x_shape, x_shape}, {z}, {x_shape}); } TEST_F(NaryGradTest, Atan2Grad) { 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
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0)