/external/eigen/demos/mix_eigen_and_c/ |
example.c | 15 struct C_MatrixXd *matrix1, *matrix2, *result; local 25 matrix2 = MatrixXd_new(3, 3); 26 MatrixXd_multiply(matrix1, matrix1, matrix2); 28 MatrixXd_print(matrix2); 31 MatrixXd_delete(matrix2);
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
matrix_exponential_op_test.py | 72 def _makeBatch(self, matrix1, matrix2): 75 np.expand_dims(matrix2, 0)]) 82 matrix2 = np.array([[1., 3.], [3., 5.]]) 84 self._verifyExponentialReal(matrix2) 86 self._verifyExponentialReal(self._makeBatch(matrix1, matrix2)) 90 matrix2 = matrix2.astype(np.complex64) 91 matrix2 += 1j * matrix2 93 self._verifyExponentialComplex(matrix2) [all...] |
matrix_logarithm_op_test.py | 51 def _makeBatch(self, matrix1, matrix2): 54 np.expand_dims(matrix2, 0)]) 61 matrix2 = np.array([[1., 3.], [3., 5.]]) 64 matrix2 = matrix2.astype(np.complex64) 65 matrix2 += 1j * matrix2 67 self._verifyLogarithmComplex(matrix2) 69 self._verifyLogarithmComplex(self._makeBatch(matrix1, matrix2)) 74 matrix2 = np.array([[3., -1.], [-1., 3.]] [all...] |
matrix_inverse_op_test.py | 60 def _makeBatch(self, matrix1, matrix2): 63 np.expand_dims(matrix2, 0)]) 70 matrix2 = np.array([[1., 3.], [3., 5.]]) 72 self._verifyInverseReal(matrix2) 74 self._verifyInverseReal(self._makeBatch(matrix1, matrix2)) 78 matrix2 = matrix2.astype(np.complex64) 79 matrix2 += 1j * matrix2 81 self._verifyInverseComplex(matrix2) [all...] |
cholesky_op_test.py | 180 matrix2 = random_ops.random_normal([5, 5], seed=42) 182 matrix2 = math_ops.matmul(matrix2, matrix2, adjoint_a=True) 184 c2 = linalg_ops.cholesky(matrix2)
|
self_adjoint_eig_op_test.py | 57 matrix2 = random_ops.random_normal([5, 5], seed=42) 60 e2, v2 = linalg_ops.self_adjoint_eig(matrix2) 64 e2 = linalg_ops.self_adjoint_eigvals(matrix2)
|
svd_op_test.py | 58 matrix2 = random_ops.random_normal([5, 5], seed=42) 63 matrix2, compute_uv=compute_uv_, full_matrices=full_matrices_) 69 matrix2, compute_uv=compute_uv_, full_matrices=full_matrices_)
|
determinant_op_test.py | 154 matrix2 = random_ops.random_normal([5, 5], seed=42) 156 det2 = linalg_ops.matrix_determinant(matrix2)
|
qr_op_test.py | 59 matrix2 = random_ops.random_normal([rows_, cols_], seed=42) 61 q2, r2 = linalg_ops.qr(matrix2, full_matrices=full_matrices_)
|
basic_gpu_test.py | 245 matrix2 = variables.Variable( 246 random_ops.truncated_normal([1, 1024]), name='matrix2') 248 x3 = math_ops.matmul(x1, math_ops.matmul(matrix2, matrix1))
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowMatrixTest.java | 90 final Matrix matrix2 = new Matrix(); local 91 matrix2.setScale(3, 4); 92 matrix2.set(matrix1); 94 final ShadowMatrix shadow = shadowOf(matrix2); 103 final Matrix matrix2 = new Matrix(); local 104 matrix2.set(matrix1); 105 matrix2.set(null); 107 final ShadowMatrix shadow = shadowOf(matrix2); 186 final Matrix matrix2 = new Matrix(); local 187 matrix2.set(matrix1) 225 final Matrix matrix2 = new Matrix(); local 240 final Matrix matrix2 = new Matrix(); local 266 final Matrix matrix2 = new Matrix(); local 284 final Matrix matrix2 = new Matrix(); local 380 final Matrix matrix2 = new Matrix(); local 398 final Matrix matrix2 = new Matrix(); local [all...] |
ShadowOpenGLMatrixTest.java | 343 float[] matrix2 = new float[]{ local 357 Matrix.multiplyMM(output, 0, matrix1, 0, matrix2, 0);
|
/frameworks/ml/nn/runtime/test/ |
TestMemory.cpp | 44 // Create a file that contains matrix2 and matrix3. 49 static_assert(offsetForMatrix2 + sizeof(matrix2) < offsetForMatrix3, "matrices overlap"); 51 write(fd, matrix2, sizeof(matrix2));
|
TestMemory.h | 43 const Matrix3x4 matrix2 = {{100.f, 200.f, 300.f, 400.f}, member in namespace:__anon46138
|
TestMemoryInternal.cpp | 98 // Layout where to place matrix2 and matrix3 in the memory we'll allocate. 101 constexpr uint32_t offsetForMatrix3 = offsetForMatrix2 + sizeof(matrix2) + 30; 109 memcpy(weightsData + offsetForMatrix2, matrix2, sizeof(matrix2));
|
TestTrivialModel.cpp | 34 const Matrix3x4 matrix2 = {{100.f, 200.f, 300.f, 400.f}, member in class:__anon46144::TrivialTest 123 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); 140 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR);
|
/external/tensorflow/tensorflow/contrib/stat_summarizer/python/ |
stat_summarizer_test.py | 35 matrix2 = constant_op.constant([[2.], [2.]], name=r"m2") 36 product = math_ops.matmul(matrix1, matrix2, name=r"product")
|
/external/pdfium/core/fxge/skia/ |
fx_skia_device_unittest.cpp | 55 CFX_Matrix matrix2; local 56 matrix2.Translate(1, 0); 86 driver->DrawPath(&path2, &matrix2, &graphState, 0xFF112233, 0, 89 driver->DrawDeviceText(SK_ARRAY_COUNT(charPos), charPos, &font, &matrix2, local
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusmatrix.h | 167 Matrix matrix2(cosAngle, sinAngle, -sinAngle, cosAngle, 170 Status status = matrix2.GetLastStatus(); 172 return Multiply(&matrix2, order);
|
/external/tensorflow/tensorflow/compiler/xla/ |
shape_util_test.cc | 442 Shape matrix2 = ShapeUtil::MakeShapeWithLayout(S32, {3, 4}, {0, 1}); local 443 Shape tuple = ShapeUtil::MakeTupleShape({opaque, scalar, matrix, matrix2}); 449 EXPECT_EQ("s32[3,4]", ShapeUtil::HumanString(matrix2)); 458 EXPECT_EQ("s32[3,4]{0,1}", ShapeUtil::HumanStringWithLayout(matrix2)); 465 {opaque, scalar, matrix, matrix2, tuple, nested_tuple}, nested_tuple); 479 prog.add_parameter_names("matrix2"); 486 "matrix2: s32[3,4], "
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
dot_operation_test.cc | 474 auto matrix2 = builder.ConstantR2<float>({{5.0, 6.0}, {7.0, 8.0}}); local 475 auto matrix12 = builder.Dot(matrix1, matrix2); 476 auto matrix21 = builder.Dot(matrix2, matrix1);
|
/external/autotest/client/tests/iozone/ |
postprocessing.py | 62 def compare_matrices(matrix1, matrix2, treshold=0.05): 67 @param matrix2: Matrix that will be compared 77 for line1, line2 in zip(matrix1, matrix2):
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d2d1helper.h | 466 D2D1FORCEINLINE D2D1_MATRIX_3X2_F operator*(const D2D1_MATRIX_3X2_F &matrix1, const D2D1_MATRIX_3X2_F &matrix2) { 468 r.SetProduct(*D2D1::Matrix3x2F::ReinterpretBaseType(&matrix1), *D2D1::Matrix3x2F::ReinterpretBaseType(&matrix2));
|
/external/pdfium/core/fxge/agg/ |
fx_agg_driver.cpp | 1345 CFX_Matrix matrix2; local [all...] |