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

Function TEST_F

tensorflow/core/kernels/debug_ops_test.cc:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59};
60
61TEST_F(DebugIdentityOpTest, Int32Success_6) {
62 TF_ASSERT_OK(Init(DT_INT32));
63 AddInputFromArray<int32>(TensorShape({6}), {1, 2, 3, 4, 5, 6});
64 TF_ASSERT_OK(RunOpKernel());
65 Tensor expected(allocator(), DT_INT32, TensorShape({6}));
66 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6});
67 // Verify the identity output
68 test::ExpectTensorEqual<int32>(expected, *GetOutput(0));
69}
70
71TEST_F(DebugIdentityOpTest, Int32Success_6_FileURLs) {
72 const int kNumDumpDirs = 3;

Callers

nothing calls this directly

Calls 15

GetOutputFunction · 0.85
TmpDirFunction · 0.85
DefaultFunction · 0.85
infinityFunction · 0.85
isnanClass · 0.85
c_strMethod · 0.80
closeMethod · 0.65
InitFunction · 0.50
TensorShapeClass · 0.50
StrCatFunction · 0.50
JoinPathFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected