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

Method VerifyBcastValues

tensorflow/core/kernels/ops_util_test.cc:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 static void VerifyBcastValues(bcast_struct bcast) {
133 int new_index, new_size;
134 EXPECT_EQ(Status::OK(),
135 GetBroadcastSize(bcast.input.index, bcast.input.in_size,
136 bcast.input.ksize, bcast.input.stride,
137 bcast.input.pad_size, &new_index, &new_size));
138 EXPECT_EQ(bcast.output.new_index, new_index);
139 EXPECT_EQ(bcast.output.new_size, new_size);
140 }
141};
142
143TEST_F(OpsUtilTest, Get2dOutputSizeNegativeSizeTest) {

Callers

nothing calls this directly

Calls 1

GetBroadcastSizeFunction · 0.85

Tested by

no test coverage detected