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

Function TEST_F

tensorflow/cc/gradients/nn_grad_test.cc:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108};
109
110TEST_F(NNGradTest, SoftmaxGrad) {
111 TensorShape shape({32, 10});
112 auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
113 auto y = Softmax(scope_, x);
114 RunTest(x, shape, y, shape);
115}
116
117TEST_F(NNGradTest, SoftmaxCrossEntropyWithLogitsGrad) {
118 TensorShape logits_shape({5, 3});

Callers

nothing calls this directly

Calls 15

L2LossFunction · 0.85
MaxPoolV2Function · 0.85
MaxPool3DFunction · 0.85
AvgPool3DFunction · 0.85
FractionalAvgPoolFunction · 0.85
DeterministicClass · 0.85
FractionalMaxPoolFunction · 0.85
PlaceholderFunction · 0.50
ShapeClass · 0.50
SoftmaxFunction · 0.50
RunTestFunction · 0.50

Tested by

no test coverage detected