From d753ed4eda5d291e0d88f0b5babf7df4b691a066 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 29 Nov 2016 11:00:18 -0800 Subject: Remove tf.batch_matmul Python interface. Change: 140500123 --- tensorflow/contrib/labeled_tensor/python/ops/ops.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tensorflow/contrib/labeled_tensor') diff --git a/tensorflow/contrib/labeled_tensor/python/ops/ops.py b/tensorflow/contrib/labeled_tensor/python/ops/ops.py index 590590bf7b..d846b013fe 100644 --- a/tensorflow/contrib/labeled_tensor/python/ops/ops.py +++ b/tensorflow/contrib/labeled_tensor/python/ops/ops.py @@ -727,10 +727,10 @@ def matmul(a, b, name=None): b = core.convert_to_labeled_tensor(b) if len(a.axes) > 2 or len(b.axes) > 2: - # We could use tf.batch_matmul to make this work, but we would also need - # to use tf.tile and/or tf.transpose. These are more expensive than doing - # reshapes, so it's not clear if it's a good idea to do this - # automatically. + # We could pass batched inputs to tf.matmul to make this work, but we + # would also need to use tf.tile and/or tf.transpose. These are more + # expensive than doing reshapes, so it's not clear if it's a good idea to + # do this automatically. raise NotImplementedError( 'matmul currently requires inputs with rank 2 or less, but ' 'inputs have ranks %r and %r' % (len(a.axes), len(b.axes))) -- cgit v1.2.3