Home
last modified time | relevance | path

Searched refs:maindiag (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/linalg/
Dtridiagonal_matmul_op_gpu.cu.cc39 const Scalar* __restrict__ maindiag, in TridiagonalMatMulKernel() argument
45 Scalar result = maindiag[row_id] * rhs[i]; in TridiagonalMatMulKernel()
64 const Tensor& maindiag = context->input(1); in Compute() local
85 maindiag.flat<Scalar>().data(), subdiag.flat<Scalar>().data(), in Compute()
Dtridiagonal_matmul_op.cc90 const auto& maindiag = inputs[1].row(0); in ComputeMatrix() local
111 result.array() = rhs.array().colwise() * maindiag.transpose().array(); in ComputeMatrix()
/external/tensorflow/tensorflow/python/kernel_tests/
Dtridiagonal_matmul_op_test.py43 maindiag, argument
50 diags_compact = np.stack([superdiag_extended, maindiag, subdiag_extended])
51 diags_matrix = np.diag(superdiag, 1) + np.diag(maindiag, 0) + np.diag(
55 constant_op.constant(maindiag, dtype),
94 def _makeTridiagonalMatrix(self, superdiag, maindiag, subdiag): argument
99 main_part = array_ops.matrix_diag(maindiag)
146 maindiag = self._randomComplexArray((b, m))
150 np.diag(maindiag[i], 0) + \
/external/tensorflow/tensorflow/core/ops/
Dlinalg_ops.cc286 ShapeHandle maindiag; in TridiagonalMatMulShapeFn() local
292 TF_RETURN_IF_ERROR(c->WithRankAtLeast(c->input(1), 2, &maindiag)); in TridiagonalMatMulShapeFn()
302 TF_RETURN_IF_ERROR(c->Subshape(maindiag, 0, -2, &maindiag_batch_shape)); in TridiagonalMatMulShapeFn()
305 TF_RETURN_IF_ERROR(c->Merge(superdiag, maindiag, &superdiag)); in TridiagonalMatMulShapeFn()
312 TF_RETURN_IF_ERROR(c->Merge(superdiag, maindiag, &maindiag)); in TridiagonalMatMulShapeFn()
313 TF_RETURN_IF_ERROR(c->Merge(subdiag, maindiag, &maindiag)); in TridiagonalMatMulShapeFn()
317 DimensionHandle m_lhs = c->Dim(maindiag, -1); in TridiagonalMatMulShapeFn()
323 TF_RETURN_IF_ERROR(c->WithValue(c->Dim(maindiag, -2), 1, &unused)); in TridiagonalMatMulShapeFn()
Dops.pbtxt56781 name: "maindiag"
/external/tensorflow/tensorflow/python/ops/linalg/
Dlinalg_impl.py555 superdiag, maindiag, subdiag = diagonals
556 if (not subdiag.shape[:-1].is_compatible_with(maindiag.shape[:-1]) or
557 not superdiag.shape[:-1].is_compatible_with(maindiag.shape[:-1])):
561 subdiag.shape, maindiag.shape, superdiag.shape))
563 m = tensor_shape.dimension_value(maindiag.shape[-1])
579 diagonals = array_ops.stack((superdiag, maindiag, subdiag), axis=-2)
701 maindiag = diagonals[..., 1, :]
704 superdiag, maindiag, subdiag = diagonals
715 maindiag = diags[..., 1, :]
723 maindiag = array_ops.expand_dims(maindiag, -2)
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DTridiagonalMatMul.pbtxt8 name: "maindiag"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DTridiagonalMatMul.pbtxt8 name: "maindiag"
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_TridiagonalMatMul.pbtxt12 name: "maindiag"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt5157 …argspec: "args=[\'superdiag\', \'maindiag\', \'subdiag\', \'rhs\', \'name\'], varargs=None, keywor…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt5157 …argspec: "args=[\'superdiag\', \'maindiag\', \'subdiag\', \'rhs\', \'name\'], varargs=None, keywor…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go15036 func TridiagonalMatMul(scope *Scope, superdiag tf.Output, maindiag tf.Output, subdiag tf.Output, rh…
15043 superdiag, maindiag, subdiag, rhs,