aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/matrix_solve_ls_op_double.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-08-18 13:24:55 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-18 13:29:08 -0700
commit109ecf823d1ba2b9570102e09af87db4c6202b73 (patch)
tree929ea650b2dc240931258bb5e38c13f3abe34ab1 /tensorflow/core/kernels/matrix_solve_ls_op_double.cc
parent51441302d45c50750c42727af7ecc9bc709ae0f3 (diff)
Add support for complex in matrix_solve_ls_op.
Split into separate files for each data type to speed up build. PiperOrigin-RevId: 165744539
Diffstat (limited to 'tensorflow/core/kernels/matrix_solve_ls_op_double.cc')
-rw-r--r--tensorflow/core/kernels/matrix_solve_ls_op_double.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/matrix_solve_ls_op_double.cc b/tensorflow/core/kernels/matrix_solve_ls_op_double.cc
new file mode 100644
index 0000000000..c7d03cb105
--- /dev/null
+++ b/tensorflow/core/kernels/matrix_solve_ls_op_double.cc
@@ -0,0 +1,23 @@
+/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+==============================================================================*/
+
+#include "tensorflow/core/kernels/matrix_solve_ls_op_impl.h"
+
+namespace tensorflow {
+
+REGISTER_LINALG_OP("MatrixSolveLs", (MatrixSolveLsOp<double>), double);
+REGISTER_LINALG_OP("BatchMatrixSolveLs", (MatrixSolveLsOp<double>), double);
+
+} // namespace tensorflow