Home
last modified time | relevance | path

Searched refs:expected_sizes (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dfft_ops.cc63 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/
Dsanitizer_format_interceptor_test.cc52 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/
Drtp_format_h264_unittest.cc49 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()
Drtp_format_vp8_test_helper.cc68 const size_t* expected_sizes, in GetAllPacketsAndCheck() argument
80 CheckPacket(send_bytes, expected_sizes[i], last, in GetAllPacketsAndCheck()
Drtp_format_vp8_test_helper.h36 const size_t* expected_sizes,
Drtp_format_vp9_unittest.cc160 const size_t* expected_sizes, in CreateParseAndCheckPackets() argument
171 EXPECT_EQ(expected_sizes[i], length); in CreateParseAndCheckPackets()
/external/tensorflow/tensorflow/contrib/training/python/training/
Dsequence_queueing_state_saver.py226 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)