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

Function TEST

tensorflow/core/ops/rnn_ops_test.cc:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34TEST(RnnOpsTest, GRUBlockCell_ShapeFn) {
35 ShapeInferenceTestOp op("GRUBlockCell");
36
37 // Rank checks.
38 INFER_ERROR("must be rank 2", op, "[?];?;?;?;?;?");
39 INFER_ERROR("must be rank 2", op, "?;[?];?;?;?;?");
40
41 // Output
42 INFER_OK(op, "?;?;?;?;?;?", "[?,?];[?,?];[?,?];[?,?]");
43 INFER_OK(op, "[?,?];[?,?];?;?;?;?",
44 "[d0_0,d1_1];[d0_0,d1_1];[d0_0,d1_1];[d0_0,d1_1]");
45}
46
47TEST(RnnOpsTest, GRUBlockCellGrad_ShapeFn) {
48 ShapeInferenceTestOp op("GRUBlockCellGrad");

Callers

nothing calls this directly

Calls 6

JoinedCopiesFunction · 0.85
NodeDefBuilderClass · 0.85
StrCatFunction · 0.50
StrAppendFunction · 0.50
FinalizeMethod · 0.45
InputMethod · 0.45

Tested by

no test coverage detected