- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CheckNumericsGrad (0.17 sec)
-
tensorflow/cc/gradients/array_grad.cc
grad_outputs->push_back(ScatterNd(scope, indices, grad_inputs[0], ref_shape)); grad_outputs->push_back(NoGradient()); return scope.status(); } REGISTER_GRADIENT_OP("GatherNd", GatherNdGrad); Status CheckNumericsGrad(const Scope& scope, const Operation& op, const std::vector<Output>& grad_inputs, std::vector<Output>* grad_outputs) { string message;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 31.7K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
auto indices = Cast(scope_, Const(scope_, {{1}, {0}}), DT_INT64); auto y = GatherNd(scope_, x, indices); RunTest(x, shape, y, shape); } TEST_F(ArrayGradTest, CheckNumericsGrad) { TensorShape shape({5, 2}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)); auto y = CheckNumerics(scope_, x, "CheckNumerics failed"); RunTest(x, shape, y, shape); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0)