Searched refs:expected_sizes (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | fft_ops.cc | 63 std::vector<int64> expected_sizes = fft_length; in Compile() local 66 expected_sizes[fft_rank_ - 1] = fft_length[fft_rank_ - 1] / 2 + 1; in Compile() 73 input_shape.dim_size(index) >= expected_sizes[i], in Compile() 76 expected_sizes[i], " but got: ", input_shape.dim_size(index))); in Compile() 77 if (input_shape.dim_size(index) > expected_sizes[i]) { in Compile() 78 slice_sizes[index] = expected_sizes[i]; in Compile() 81 expected_sizes[i] - input_shape.dim_size(index); in Compile()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_format_interceptor_test.cc | 52 va_list expected_sizes) { in verifyFormatResults() argument 58 EXPECT_EQ(va_arg(expected_sizes, unsigned), computed_sizes[i + 1]) in verifyFormatResults() 78 va_list expected_sizes) { in testScanf2() argument 85 verifyFormatResults(format, n, scanf_sizes, expected_sizes); in testScanf2() 214 va_list expected_sizes) { in testPrintf2() argument 221 verifyFormatResults(format, n, printf_sizes, expected_sizes); in testPrintf2()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_h264_unittest.cc | 49 const std::vector<size_t>& expected_sizes) { in VerifyFua() argument 50 ASSERT_EQ(expected_sizes[fua_index] + kFuAHeaderSize, length) in VerifyFua() 54 bool should_be_last_fua = (fua_index == expected_sizes.size() - 1); in VerifyFua() 65 &expected_payload[offset + expected_sizes[fua_index]]); in VerifyFua() 68 ::testing::ElementsAreArray(&packet[2], expected_sizes[fua_index])) in VerifyFua() 74 const std::vector<size_t>& expected_sizes) { in TestFua() argument 93 for (size_t i = 0; i < expected_sizes.size(); ++i) { in TestFua() 95 VerifyFua(i, frame.get(), offset, packet.get(), length, expected_sizes); in TestFua() 96 EXPECT_EQ(i == expected_sizes.size() - 1, last) << "FUA index: " << i; in TestFua() 97 offset += expected_sizes[i]; in TestFua()
|
D | rtp_format_vp8_test_helper.cc | 68 const size_t* expected_sizes, in GetAllPacketsAndCheck() argument 80 CheckPacket(send_bytes, expected_sizes[i], last, in GetAllPacketsAndCheck()
|
D | rtp_format_vp8_test_helper.h | 36 const size_t* expected_sizes,
|
D | rtp_format_vp9_unittest.cc | 160 const size_t* expected_sizes, in CreateParseAndCheckPackets() argument 171 EXPECT_EQ(expected_sizes[i], length); in CreateParseAndCheckPackets()
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | sequence_queueing_state_saver.py | 226 def _check_dimensions(value, dimensions, expected_sizes, debug_prefix): argument 264 if not isinstance(expected_sizes, ops.Tensor): 265 if len(dimensions) != len(expected_sizes): 267 (len(dimensions), len(expected_sizes))) 275 for d, s in zip(dimensions, expected_sizes): 292 ]) for (dimension, expected_size) in zip(dimensions, expected_sizes)
|