Home
last modified time | relevance | path

Searched refs:num_rows (Results 1 – 25 of 157) sorted by relevance

1234567

/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_identity_test.py51 num_rows = shape[-1]
54 num_rows, batch_shape=batch_shape, dtype=dtype)
55 mat = linalg_ops.eye(num_rows, batch_shape=batch_shape, dtype=dtype)
67 operator = linalg_lib.LinearOperatorIdentity(num_rows=2)
72 operator = linalg_lib.LinearOperatorIdentity(num_rows=2)
77 operator = linalg_lib.LinearOperatorIdentity(num_rows=2)
85 num_rows=2, dtype=dtypes.float16)
92 linalg_lib.LinearOperatorIdentity(num_rows=[2])
96 linalg_lib.LinearOperatorIdentity(num_rows=2.)
100 linalg_lib.LinearOperatorIdentity(num_rows=-2)
[all …]
/external/libjpeg-turbo/simd/
Djsimd.h33 JDIMENSION output_row, int num_rows);
36 JDIMENSION output_row, int num_rows);
39 JDIMENSION output_row, int num_rows);
42 JDIMENSION output_row, int num_rows);
45 JDIMENSION output_row, int num_rows);
48 JDIMENSION output_row, int num_rows);
51 JDIMENSION output_row, int num_rows);
56 JDIMENSION output_row, int num_rows);
59 JDIMENSION output_row, int num_rows);
62 JDIMENSION output_row, int num_rows);
[all …]
/external/libjpeg-turbo/
Djdcolor.c256 JSAMPARRAY output_buf, int num_rows) in ycc_rgb_convert() argument
261 num_rows); in ycc_rgb_convert()
266 num_rows); in ycc_rgb_convert()
270 num_rows); in ycc_rgb_convert()
275 num_rows); in ycc_rgb_convert()
280 num_rows); in ycc_rgb_convert()
285 num_rows); in ycc_rgb_convert()
289 num_rows); in ycc_rgb_convert()
329 JSAMPARRAY output_buf, int num_rows) in rgb_gray_convert() argument
339 while (--num_rows >= 0) { in rgb_gray_convert()
[all …]
Djdpostct.c133 JDIMENSION num_rows, max_rows; in post_process_1pass() local
140 num_rows = 0; in post_process_1pass()
143 post->buffer, &num_rows, max_rows); in post_process_1pass()
146 post->buffer, output_buf + *out_row_ctr, (int) num_rows); in post_process_1pass()
147 *out_row_ctr += num_rows; in post_process_1pass()
165 JDIMENSION old_next_row, num_rows; in post_process_prepass() local
183 num_rows = post->next_row - old_next_row; in post_process_prepass()
185 (JSAMPARRAY) NULL, (int) num_rows); in post_process_prepass()
186 *out_row_ctr += num_rows; in post_process_prepass()
209 JDIMENSION num_rows, max_rows; in post_process_2pass() local
[all …]
Djccolor.c236 JDIMENSION output_row, int num_rows) in rgb_ycc_convert() argument
241 num_rows); in rgb_ycc_convert()
246 num_rows); in rgb_ycc_convert()
250 num_rows); in rgb_ycc_convert()
255 num_rows); in rgb_ycc_convert()
260 num_rows); in rgb_ycc_convert()
265 num_rows); in rgb_ycc_convert()
269 num_rows); in rgb_ycc_convert()
285 JDIMENSION output_row, int num_rows) in rgb_gray_convert() argument
290 num_rows); in rgb_gray_convert()
[all …]
Djdcolext.c33 JSAMPARRAY output_buf, int num_rows) in LOCAL()
49 while (--num_rows >= 0) { in LOCAL()
86 JSAMPARRAY output_buf, int num_rows) in LOCAL()
92 while (--num_rows >= 0) { in LOCAL()
117 JSAMPARRAY output_buf, int num_rows) in LOCAL()
124 while (--num_rows >= 0) { in LOCAL()
Djccolext.c34 JDIMENSION output_row, int num_rows) in LOCAL()
44 while (--num_rows >= 0) { in LOCAL()
91 JDIMENSION output_row, int num_rows) in LOCAL()
101 while (--num_rows >= 0) { in LOCAL()
128 JDIMENSION output_row, int num_rows) in LOCAL()
135 while (--num_rows >= 0) { in LOCAL()
Djsimd.h24 JDIMENSION output_row, int num_rows);
27 JDIMENSION output_row, int num_rows);
30 JSAMPARRAY output_buf, int num_rows);
33 JSAMPARRAY output_buf, int num_rows);
36 JDIMENSION output_row, int num_rows);
/external/tensorflow/tensorflow/python/kernel_tests/
Dcheckpoint_ops_test.py141 num_rows=2,
156 num_rows=len(row_remapping),
171 num_rows=len(row_remapping),
186 num_rows=3,
197 num_rows = 7
198 initializing_values = [42] * num_rows * self.old_num_cols
202 row_remapping=[-1] * num_rows,
205 num_rows=num_rows,
209 np.reshape(initializing_values, (num_rows, self.old_num_cols)),
214 num_rows = 7
[all …]
Dfractional_max_pool_op_test.py153 num_rows = 6
155 tensor_shape = (1, num_rows, num_cols, 1)
184 for i in range(num_rows):
206 num_rows = 20
210 tensor_shape = (num_batches, num_rows, num_cols, num_channels)
222 num_rows = 20
226 tensor_shape = (num_batches, num_rows, num_cols, num_channels)
241 for num_rows in [10, 20, 50]:
243 tensor_shape = (num_batches, num_rows, num_cols, num_channels)
257 num_rows = 30
[all …]
Dfractional_avg_pool_op_test.py153 num_rows = 6
155 tensor_shape = (1, num_rows, num_cols, 1)
182 for i in range(num_rows):
204 num_rows = 20
208 tensor_shape = (num_batches, num_rows, num_cols, num_channels)
270 for num_rows in [10, 20, 50]:
272 tensor_shape = (num_batches, num_rows, num_cols, num_channels)
286 num_rows = 30
288 tensor_shape = (num_batches, num_rows, num_cols, num_channels)
307 num_rows = 30
[all …]
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dcomplex_matrix.h30 ComplexMatrix(size_t num_rows, size_t num_columns) in ComplexMatrix() argument
31 : Matrix<complex<T> >(num_rows, num_columns) {} in ComplexMatrix()
33 ComplexMatrix(const complex<T>* data, size_t num_rows, size_t num_columns) in ComplexMatrix() argument
34 : Matrix<complex<T> >(data, num_rows, num_columns) {} in ComplexMatrix()
39 size_t size = this->num_rows() * this->num_columns(); in PointwiseConjugate()
54 size_t num_rows = this->num_rows(); in ConjugateTranspose() local
56 this->SetNumColumns(num_rows); in ConjugateTranspose()
62 RTC_CHECK_EQ(operand.num_rows(), this->num_columns()); in ConjugateTranspose()
63 RTC_CHECK_EQ(operand.num_columns(), this->num_rows()); in ConjugateTranspose()
69 size_t size = this->num_rows() * this->num_columns(); in ZeroImag()
[all …]
Dmatrix_test_helpers.h32 EXPECT_EQ(expected.num_rows(), actual.num_rows()); in ValidateMatrixEquality()
37 for (size_t i = 0; i < expected.num_rows(); ++i) { in ValidateMatrixEquality()
46 EXPECT_EQ(expected.num_rows(), actual.num_rows()); in ValidateMatrixEqualityFloat()
51 for (size_t i = 0; i < expected.num_rows(); ++i) { in ValidateMatrixEqualityFloat()
61 EXPECT_EQ(expected.num_rows(), actual.num_rows()); in ValidateMatrixEqualityComplexFloat()
66 for (size_t i = 0; i < expected.num_rows(); ++i) { in ValidateMatrixEqualityComplexFloat()
82 EXPECT_EQ(expected.num_rows(), actual.num_rows()); in ValidateMatrixNearEqualityComplexFloat()
87 for (size_t i = 0; i < expected.num_rows(); ++i) { in ValidateMatrixNearEqualityComplexFloat()
Dmatrix.h70 Matrix(size_t num_rows, size_t num_columns) in Matrix() argument
71 : num_rows_(num_rows), num_columns_(num_columns) { in Matrix()
78 Matrix(const T* data, size_t num_rows, size_t num_columns) in Matrix() argument
80 CopyFrom(data, num_rows, num_columns); in Matrix()
93 void CopyFrom(const T* const data, size_t num_rows, size_t num_columns) { in CopyFrom() argument
94 Resize(num_rows, num_columns); in CopyFrom()
100 size_t num_rows) { in CopyFromColumn() argument
101 Resize(1, num_rows); in CopyFromColumn()
109 void Resize(size_t num_rows, size_t num_columns) { in Resize() argument
110 if (num_rows != num_rows_ || num_columns != num_columns_) { in Resize()
[all …]
/external/libhevc/decoder/
Dihevcd_fmt_conv.c391 WORD32 num_rows, num_cols, src_strd, dst_strd; in ihevcd_fmt_conv_420sp_to_420sp() local
398 num_rows = ht; in ihevcd_fmt_conv_420sp_to_420sp()
404 for(i = 0; i < num_rows; i++) in ihevcd_fmt_conv_420sp_to_420sp()
415 num_rows = ht >> 1; in ihevcd_fmt_conv_420sp_to_420sp()
421 for(i = 0; i < num_rows; i++) in ihevcd_fmt_conv_420sp_to_420sp()
490 WORD32 num_rows, num_cols, src_strd, dst_strd; in ihevcd_fmt_conv_420sp_to_420sp_swap_uv() local
497 num_rows = ht; in ihevcd_fmt_conv_420sp_to_420sp_swap_uv()
503 for(i = 0; i < num_rows; i++) in ihevcd_fmt_conv_420sp_to_420sp_swap_uv()
514 num_rows = ht >> 1; in ihevcd_fmt_conv_420sp_to_420sp_swap_uv()
520 for(i = 0; i < num_rows; i++) in ihevcd_fmt_conv_420sp_to_420sp_swap_uv()
[all …]
/external/webp/src/dec/
Dalpha_dec.c110 static int ALPHDecode(VP8Decoder* const dec, int row, int num_rows) { in ALPHDecode() argument
122 for (y = 0; y < num_rows; ++y) { in ALPHDecode()
129 for (y = 0; y < num_rows; ++y) { in ALPHDecode()
139 if (!VP8LDecodeAlphaImageStream(alph_dec, row + num_rows)) { in ALPHDecode()
144 if (row + num_rows >= height) { in ALPHDecode()
179 int row, int num_rows) { in VP8DecompressAlphaRows() argument
185 if (row < 0 || num_rows <= 0 || row + num_rows > height) { in VP8DecompressAlphaRows()
202 num_rows = height - row; // decode everything in one pass in VP8DecompressAlphaRows()
207 assert(row + num_rows <= height); in VP8DecompressAlphaRows()
208 if (!ALPHDecode(dec, row, num_rows)) goto Error; in VP8DecompressAlphaRows()
/external/tensorflow/tensorflow/contrib/cloud/python/ops/
Dbigquery_reader_ops_test.py135 num_rows = 0 variable in BigQueryRequestHandler
140 _SCHEMA["numRows"] = self.num_rows
197 def _ReadAndCheckRowsUsingFeatures(self, num_rows): argument
198 self.server.handler.num_rows = num_rows
223 for _ in range(num_rows):
241 self.assertItemsEqual(seen_rows, range(num_rows))
254 num_rows = 10
255 self.server.handler.num_rows = num_rows
268 for row_index in range(num_rows):
286 self.assertItemsEqual(seen_rows, range(num_rows))
/external/libavc/encoder/
Dih264e_fmt_conv.c371 WORD32 num_rows, num_cols, src_strd, dst_strd; in ih264e_fmt_conv_420sp_to_420sp() local
378 num_rows = ht; in ih264e_fmt_conv_420sp_to_420sp()
384 for (i = 0; i < num_rows; i++) in ih264e_fmt_conv_420sp_to_420sp()
395 num_rows = ht >> 1; in ih264e_fmt_conv_420sp_to_420sp()
401 for (i = 0; i < num_rows; i++) in ih264e_fmt_conv_420sp_to_420sp()
423 WORD32 num_rows, num_cols, src_strd, dst_strd; in ih264e_fmt_conv_420sp_to_420sp_swap_uv() local
430 num_rows = ht; in ih264e_fmt_conv_420sp_to_420sp_swap_uv()
436 for (i = 0; i < num_rows; i++) in ih264e_fmt_conv_420sp_to_420sp_swap_uv()
447 num_rows = ht >> 1; in ih264e_fmt_conv_420sp_to_420sp_swap_uv()
453 for (i = 0; i < num_rows; i++) in ih264e_fmt_conv_420sp_to_420sp_swap_uv()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgemm_thunk.cc39 num_rows(matrix_num_rows), in MatrixDescriptor()
44 int64 num_rows; member
63 auto k = lhs_matrix.transpose ? lhs_matrix.num_rows : lhs_matrix.num_cols; in DoGemm()
67 lhs_transpose, rhs_transpose, output_matrix.num_rows, in DoGemm()
69 lhs_data, /*leading dim of LHS=*/lhs_matrix.num_rows, rhs_data, in DoGemm()
70 /*leading dim of RHS=*/rhs_matrix.num_rows, /*beta=*/0.0, in DoGemm()
71 &output_data, /*leading dim of output=*/output_matrix.num_rows) in DoGemm()
106 auto k = lhs_matrix.transpose ? lhs_matrix.num_rows : lhs_matrix.num_cols; in DoGemmWithAlgorithm()
110 lhs_transpose, rhs_transpose, output_matrix.num_rows, in DoGemmWithAlgorithm()
112 lhs_data, /*leading dim of LHS=*/lhs_matrix.num_rows, rhs_data, in DoGemmWithAlgorithm()
[all …]
/external/libavc/decoder/
Dih264d_format_conv.c385 WORD32 num_rows, num_cols, src_strd, dst_strd; in ih264d_fmt_conv_420sp_to_420sp() local
392 num_rows = ht; in ih264d_fmt_conv_420sp_to_420sp()
398 for(i = 0; i < num_rows; i++) in ih264d_fmt_conv_420sp_to_420sp()
409 num_rows = ht >> 1; in ih264d_fmt_conv_420sp_to_420sp()
415 for(i = 0; i < num_rows; i++) in ih264d_fmt_conv_420sp_to_420sp()
482 WORD32 num_rows, num_cols, src_strd, dst_strd; in ih264d_fmt_conv_420sp_to_420sp_swap_uv() local
489 num_rows = ht; in ih264d_fmt_conv_420sp_to_420sp_swap_uv()
495 for(i = 0; i < num_rows; i++) in ih264d_fmt_conv_420sp_to_420sp_swap_uv()
506 num_rows = ht >> 1; in ih264d_fmt_conv_420sp_to_420sp_swap_uv()
512 for(i = 0; i < num_rows; i++) in ih264d_fmt_conv_420sp_to_420sp_swap_uv()
[all …]
/external/libhevc/decoder/x86/
Dihevcd_fmt_conv_ssse3_intr.c63 WORD32 num_rows, num_cols, src_strd, dst_strd, cols, rows; in ihevcd_fmt_conv_420sp_to_420p_ssse3() local
75 num_rows = ht; in ihevcd_fmt_conv_420sp_to_420p_ssse3()
80 for(i = 0; i < num_rows; i++) in ihevcd_fmt_conv_420sp_to_420p_ssse3()
118 num_rows = ht >> 1; in ihevcd_fmt_conv_420sp_to_420p_ssse3()
130 for(i = 0; i < (num_rows >> 2); i++) in ihevcd_fmt_conv_420sp_to_420p_ssse3()
208 rows = num_rows & 0x3; in ihevcd_fmt_conv_420sp_to_420p_ssse3()
244 pu1_u_dst -= (num_rows * dst_strd); in ihevcd_fmt_conv_420sp_to_420p_ssse3()
245 pu1_v_dst -= (num_rows * dst_strd); in ihevcd_fmt_conv_420sp_to_420p_ssse3()
254 for(i = 0; i < num_rows; i++) in ihevcd_fmt_conv_420sp_to_420p_ssse3()
/external/tensorflow/tensorflow/contrib/tpu/ops/
Dtpu_embedding_ops.cc96 int64 num_rows = config.table_config(table_id).num_rows(); in GradientDescentShapes() local
98 TF_RETURN_IF_ERROR(c->set_output("parameters", {c->Matrix(num_rows, width)})); in GradientDescentShapes()
168 int64 num_rows = config.table_config(table_id).num_rows(); in AdagradShapes() local
170 TF_RETURN_IF_ERROR(c->set_output("parameters", {c->Matrix(num_rows, width)})); in AdagradShapes()
172 c->set_output("accumulators", {c->Matrix(num_rows, width)})); in AdagradShapes()
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dvector_diffeomixture_test.py50 num_rows=dims,
79 num_rows=dims,
108 num_rows=dims,
142 num_rows=dims,
167 num_rows=dims,
194 num_rows=dims,
231 num_rows=dims,
274 num_rows=dims,
299 num_rows=dims,
327 num_rows=dims,
/external/tensorflow/tensorflow/python/ops/
Dlinalg_ops.py125 def eye(num_rows, argument
163 name, default_name='eye', values=[num_rows, num_columns, batch_shape]):
166 num_columns = num_rows if num_columns is None else num_columns
167 if isinstance(num_rows, ops.Tensor) or isinstance(
171 diag_size = math_ops.minimum(num_rows, num_columns)
174 shape = array_ops.concat((batch_shape, [num_rows, num_columns]), 0)
176 if not isinstance(num_rows, compat.integral_types) or not isinstance(
181 is_square = num_rows == num_columns
182 diag_shape = batch_shape + [np.minimum(num_rows, num_columns)]
184 shape = batch_shape + [num_rows, num_columns]
/external/webp/src/dsp/
Dfilters.c28 assert(row >= 0 && num_rows > 0 && row + num_rows <= height); \
47 int row, int num_rows, in DoHorizontalFilter_C() argument
51 const int last_row = row + num_rows; in DoHorizontalFilter_C()
84 int row, int num_rows, in DoVerticalFilter_C() argument
88 const int last_row = row + num_rows; in DoVerticalFilter_C()
129 int row, int num_rows, in DoGradientFilter_C() argument
133 const int last_row = row + num_rows; in DoGradientFilter_C()

1234567