Home
last modified time | relevance | path

Searched refs:num_columns (Results 1 – 25 of 38) sorted by relevance

12

/external/tensorflow/tensorflow/python/ops/
Dlinalg_ops_impl.py34 num_columns=None, argument
43 name, default_name='eye', values=[num_rows, num_columns, batch_shape]):
44 is_square = num_columns is None
46 num_columns = num_rows if num_columns is None else num_columns
50 isinstance(num_columns, ops.Tensor)):
51 diag_size = math_ops.minimum(num_rows, num_columns)
55 num_columns, compat.integral_types):
58 is_square = num_rows == num_columns
59 diag_size = np.minimum(num_rows, num_columns)
67 shape = array_ops.concat((batch_shape, [num_rows, num_columns]), axis=0)
[all …]
Dlinalg_ops.py191 num_columns=None, argument
228 num_columns=num_columns,
Dsparse_ops.py185 num_columns=None, argument
202 with ops.name_scope(name, default_name="eye", values=[num_rows, num_columns]):
204 num_columns = num_rows if num_columns is None else _make_int64_tensor(
205 num_columns, "num_columns")
208 diag_size = math_ops.minimum(num_rows, num_columns)
214 dense_shape=[num_rows, num_columns])
/external/webrtc/webrtc/modules/audio_processing/beamformer/
Dmatrix_test_helpers.h33 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixEquality()
38 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixEquality()
47 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixEqualityFloat()
52 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixEqualityFloat()
62 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixEqualityComplexFloat()
67 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixEqualityComplexFloat()
83 EXPECT_EQ(expected.num_columns(), actual.num_columns()); in ValidateMatrixNearEqualityComplexFloat()
88 for (size_t j = 0; j < expected.num_columns(); ++j) { in ValidateMatrixNearEqualityComplexFloat()
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()
55 this->SetNumRows(this->num_columns()); 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()
86 for (size_t j = 0; j < this->num_columns(); ++j) { in ConjugateTranspose()
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()
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()
112 num_columns_ = num_columns; in Resize()
119 size_t num_columns() const { return num_columns_; } in num_columns() function
[all …]
Dnonlinear_beamformer.cc83 RTC_CHECK_EQ(norm_mat.num_columns(), mat.num_rows()); in Norm()
84 RTC_CHECK_EQ(norm_mat.num_columns(), mat.num_columns()); in Norm()
92 for (size_t i = 0; i < norm_mat.num_columns(); ++i) { in Norm()
93 for (size_t j = 0; j < norm_mat.num_columns(); ++j) { in Norm()
107 RTC_CHECK_EQ(lhs.num_columns(), rhs.num_columns()); in ConjugateDotProduct()
113 for (size_t i = 0; i < lhs.num_columns(); ++i) { in ConjugateDotProduct()
130 for (size_t j = 0; j < mat.num_columns(); ++j) { in SumAbs()
142 for (size_t j = 0; j < mat.num_columns(); ++j) { in SumSquares()
154 RTC_CHECK_EQ(out->num_rows(), in.num_columns()); in TransposedConjugatedProduct()
155 RTC_CHECK_EQ(out->num_columns(), in.num_columns()); in TransposedConjugatedProduct()
[all …]
Dcovariance_matrix_generator.cc31 const size_t length = x.num_columns(); in Norm()
47 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in UniformCovarianceMatrix()
72 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in AngledCovarianceMatrix()
98 RTC_CHECK_EQ(geometry.size(), mat->num_columns()); in PhaseAlignmentMasks()
/external/tensorflow/tensorflow/compiler/tests/
Dquantized_ops_test.py56 num_rows, num_columns = test_input.get_shape().as_list()
57 num_output_columns = int(math.ceil(num_columns / 4.0))
63 ], [0, num_output_columns * 4 - num_columns]]))
84 num_columns = 3547
85 random_input = np.random.normal(128.0, 10.0, [num_rows, num_columns])
97 [num_rows, num_columns])
/external/tensorflow/tensorflow/python/kernel_tests/
Dlinalg_ops_test.py153 self.assertEqual((2, 3), linalg_ops.eye(num_rows=2, num_columns=3).shape)
163 num_rows=2, num_columns=3, batch_shape=batch_shape).shape)
180 num_columns = num_columns_fn()
184 num_columns=num_columns,
191 if num_columns is not None and not isinstance(num_columns, ops.Tensor):
212 def test_eye_no_placeholder(self, num_rows, num_columns, batch_shape, dtype): argument
213 eye_np = np.eye(num_rows, M=num_columns, dtype=dtype.as_numpy_dtype)
218 num_columns=num_columns,
243 self, num_rows, num_columns, batch_shape, dtype): argument
244 eye_np = np.eye(num_rows, M=num_columns, dtype=dtype.as_numpy_dtype)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_zeros_test.py95 linalg_lib.LinearOperatorZeros(num_rows=2, num_columns=[2])
101 linalg_lib.LinearOperatorZeros(num_rows=2, num_columns=2.)
107 linalg_lib.LinearOperatorZeros(num_rows=2, num_columns=-2)
193 num_rows=2, num_columns=variables_module.Variable(3))
213 num_columns = shape[-1]
216 num_rows, num_columns, is_square=False, is_self_adjoint=False,
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinear_operator_zeros.py128 num_columns=None, argument
200 linear_operator_util.assert_not_ref_type(num_columns, "num_columns")
207 if num_columns is None:
208 num_columns = num_rows
211 num_columns, name="num_columns")
/external/libxaac/decoder/
Dixheaacd_sbr_dec.c201 WORD32 num_columns; in ixheaacd_esbr_analysis_filt_block() local
209 num_columns = pstr_qmf_anal_bank->no_channels; in ixheaacd_esbr_analysis_filt_block()
211 switch (num_columns) { in ixheaacd_esbr_analysis_filt_block()
235 pstr_qmf_anal_bank->usb = num_columns; in ixheaacd_esbr_analysis_filt_block()
241 ptr_filt_states_2 = pstr_qmf_anal_bank->anal_filter_states_32 + num_columns; in ixheaacd_esbr_analysis_filt_block()
244 for (z = 0; z < num_columns; z++) { in ixheaacd_esbr_analysis_filt_block()
245 ptr_filt_states[num_columns - 1 - z] = in ixheaacd_esbr_analysis_filt_block()
250 num_columns); in ixheaacd_esbr_analysis_filt_block()
252 core_coder_samples += num_columns; in ixheaacd_esbr_analysis_filt_block()
254 ptr_filt_states -= num_columns; in ixheaacd_esbr_analysis_filt_block()
[all …]
Dixheaacd_sbrqmftrans.h25 FLOAT32 qmf_buf_imag[][64], WORD32 num_columns,
Dixheaacd_qmf_poly.h29 WORD32 num_columns, FLOAT32 qmf_buf_real[][64],
Dixheaacd_sbr_dec.h184 FLOAT32 qmf_buf_imag[][64], WORD32 num_columns,
228 FLOAT32 qmf_buf_imag[][64], WORD32 num_columns,
Dixheaacd_esbr_polyphase.c145 WORD32 num_columns, FLOAT32 qmf_buf_real[][64], in ixheaacd_real_synth_filt() argument
158 for (idx = 0; idx < num_columns; idx++) { in ixheaacd_real_synth_filt()
Dixheaacd_lpp_tran.h50 WORD16 num_columns; member
/external/autotest/frontend/tko/
Dcsv_encoder.py38 def _total_index(self, group, num_columns): argument
40 return row_index * num_columns + column_index
/external/u-boot/tools/binman/
Dimage.py290 num_columns = len(HEADER)
294 widths = [0] * num_columns
Dcontrol.py84 num_columns = len(widths)
88 print('-' * (sum(widths) + num_columns * 2))
/external/tensorflow/tensorflow/lite/testing/op_tests/
Deye.py49 num_columns=input_tensor1,
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_decorations.cpp192 const auto num_columns = words[3]; in getBaseAlignment() local
198 componentAlignment * (num_columns == 3 ? 4 : num_columns); in getBaseAlignment()
305 const auto num_columns = words[3]; in getSize() local
307 return num_columns * inherited.matrix_stride; in getSize()
317 num_columns * scalar_elem_size; in getSize()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp192 const auto num_columns = words[3]; in getBaseAlignment() local
198 componentAlignment * (num_columns == 3 ? 4 : num_columns); in getBaseAlignment()
305 const auto num_columns = words[3]; in getSize() local
307 return num_columns * inherited.matrix_stride; in getSize()
317 num_columns * scalar_elem_size; in getSize()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp192 const auto num_columns = words[3]; in getBaseAlignment() local
198 componentAlignment * (num_columns == 3 ? 4 : num_columns); in getBaseAlignment()
305 const auto num_columns = words[3]; in getSize() local
307 return num_columns * inherited.matrix_stride; in getSize()
317 num_columns * scalar_elem_size; in getSize()

12