- Sort Score
- Result 10 results
- Languages All
Results 11 - 11 of 11 for ClientSession (0.21 sec)
-
tensorflow/cc/gradients/math_grad_test.cc
const auto zero = Const<float>(scope_, 0.0); const auto y = DivNoNan(scope_, x, zero); std::vector<Output> grad_outputs; TF_EXPECT_OK(AddSymbolicGradients(scope_, {y}, {x}, &grad_outputs)); ClientSession session(scope_); std::vector<Tensor> grad_result; TF_EXPECT_OK( session.Run({{x, {-3.0f, 0.0f, 3.0f}}}, grad_outputs, &grad_result)); EXPECT_EQ(grad_result.size(), 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0)