MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST_F

Function TEST_F

tensorflow/cc/gradients/math_grad_test.cc:235–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233};
234
235TEST_F(CWiseUnaryGradTest, Abs) {
236 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); };
237 TestCWiseGrad<float, float>(ABS, x_fn);
238}
239
240TEST_F(CWiseUnaryGradTest, Neg) {
241 auto x_fn = [this](const int i) { return RV({-1, 0, 1}); };

Callers

nothing calls this directly

Calls 15

AddV2Function · 0.85
RealDivFunction · 0.85
DivNoNanFunction · 0.85
SegmentSumFunction · 0.85
PlaceholderFunction · 0.50
ShapeClass · 0.50
SumClass · 0.50
RunTestFunction · 0.50
MeanClass · 0.50
MinFunction · 0.50
MaxFunction · 0.50
MulFunction · 0.50

Tested by

no test coverage detected