Home
last modified time | relevance | path

Searched refs:swapaxes (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/tests/
Dsvd_op_test.py44 return np.matmul(u * s[..., None, :], np.swapaxes(v, -1, -2))
56 u_diff = np.matmul(u_val, np.swapaxes(u_val, -1, -2)) - np.eye(m)
57 v_diff = np.matmul(v_val, np.swapaxes(v_val, -1, -2)) - np.eye(n)
Dself_adjoint_eig_op_test.py38 x_np = x_np + np.swapaxes(x_np, -1, -2)
48 v_diff = np.matmul(v_val, np.swapaxes(v_val, -1, -2)) - np.eye(n)
Dmatrix_solve_op_test.py37 np_ans = np.linalg.solve(np.swapaxes(a, -2, -1) if adjoint else a, b)
Dmatrix_triangular_solve_op_test.py74 transp = lambda x: np.swapaxes(x, -1, -2)
Dfft_test.py93 expected = np.swapaxes(expected, -1, -2)
/external/libvpx/libvpx/tools/non_greedy_mv/
Dnon_greedy_mv.py62 plane = np.swapaxes(np.swapaxes(plane, 0, 1), 1, 2)
/external/tensorflow/tensorflow/python/kernel_tests/
Dbatch_matmul_op_test.py52 x = np.conjugate(np.swapaxes(x, -1, -2))
54 y = np.conjugate(np.swapaxes(y, -1, -2))
Dsvd_op_test.py191 CompareSingularVectors(self, np.conj(np.swapaxes(v_np, -2, -1)), v_tf_val,
Drnn_cell_test.py1534 out = np.swapaxes(out, 0, 1)
/external/tensorflow/tensorflow/python/kernel_tests/boosted_trees/
Dstats_ops_test.py1348 expected_stats_summary = np.swapaxes(expected_stats_summary, 1, 2)
1402 expected_stats_summary = np.swapaxes(expected_stats_summary, 1, 2)
1427 expected_stats_summary = np.swapaxes(expected_stats_summary, 1, 2)
1488 expected_stats_summary = np.swapaxes(expected_stats_summary, 1, 2)
1517 expected_stats_summary = np.swapaxes(expected_stats_summary, 1, 2)
/external/tensorflow/tensorflow/python/ops/numpy_ops/
Dnp_array_ops_test.py1051 self.assertAllEqual([[1], [2], [3]], np_array_ops.swapaxes(x, 0, 1))
1052 self.assertAllEqual([[1], [2], [3]], np_array_ops.swapaxes(x, -2, -1))
1055 np_array_ops.swapaxes(x, 0, 2))
1057 np_array_ops.swapaxes(x, -3, -1))
Dnp_array_ops.py798 def swapaxes(a, axis1, axis2): # pylint: disable=missing-docstring function
1043 return swapaxes(arrays, 0, axis)
1432 swapaxes_ = lambda t: swapaxes(t, axis, -1)
/external/tensorflow/third_party/py/numpy/tf_numpy_api/
Dtensorflow.experimental.numpy.pbtxt828 name: "swapaxes"