Searched defs:x_fn (Results 1 – 1 of 1) sorted by relevance
| /external/tensorflow/tensorflow/cc/gradients/ |
| D | math_grad_test.cc | 107 void TestCWiseGrad(UnaryOpType op_type, const std::function<X_T(int)>& x_fn) { in TestCWiseGrad() 244 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); }; in TEST_F() local 249 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); }; in TEST_F() local 254 auto x_fn = [this](const int i) { return RV({-1, 1, -2, 2, -3, 3, -4, 4}); }; in TEST_F() local 259 auto x_fn = [this](const int i) { return CRV({{-1, 0}, {1, 0}, {2, -1}}); }; in TEST_F() local 264 auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); }; in TEST_F() local 269 auto x_fn = [this](const int i) { return CRV({{-1, 0}, {1, 0}, {2, -1}}); }; in TEST_F() local 274 auto x_fn = [this](const int i) { return RV({0.5, 1, 2, 3, 4, 5, 6, 7}); }; in TEST_F() local 279 auto x_fn = [this](const int i) { in TEST_F() local 286 auto x_fn = [this](const int i) { return RV({1, 2, 3, 4, 5, 6, 7, 8}); }; in TEST_F() local [all …]
|