Searched defs:x_fn (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/cc/gradients/ |
D | math_grad_test.cc | 96 void TestCWiseGrad(UnaryOpType op_type, const std::function<X_T(int)>& x_fn) { in TestCWiseGrad() 227 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); }; in TEST_F() local 232 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); }; in TEST_F() local 237 auto x_fn = [this](const int i) { return RV({-1, 1, -2, 2, -3, 3, -4, 4}); }; in TEST_F() local 242 auto x_fn = [this](const int i) { return CRV({{-1, 0}, {1, 0}, {2, -1}}); }; in TEST_F() local 247 auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); }; in TEST_F() local 252 auto x_fn = [this](const int i) { return CRV({{-1, 0}, {1, 0}, {2, -1}}); }; in TEST_F() local 257 auto x_fn = [this](const int i) { return RV({0.5, 1, 2, 3, 4, 5, 6, 7}); }; in TEST_F() local 262 auto x_fn = [this](const int i) { in TEST_F() local 269 auto x_fn = [this](const int i) { return RV({1, 2, 3, 4, 5, 6, 7, 8}); }; in TEST_F() local [all …]
|