aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/tensor_shape.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-06-14 08:41:51 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-06-14 09:51:12 -0700
commit9d6b7680cfcc5b784401d17fef997f0c089038b1 (patch)
tree0e16e2afe65a2ebbc6681637109001126513657f /tensorflow/core/framework/tensor_shape.h
parent93053edabf5c68a53cb1745c1b685e496b79228e (diff)
Do not require input and filter tensors to be passed to conv3d_backprop_{input,filter}, respectively. Fixes bug #2467.
Change: 124848019
Diffstat (limited to 'tensorflow/core/framework/tensor_shape.h')
-rw-r--r--tensorflow/core/framework/tensor_shape.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/framework/tensor_shape.h b/tensorflow/core/framework/tensor_shape.h
index b022f2d27c..16fe299b27 100644
--- a/tensorflow/core/framework/tensor_shape.h
+++ b/tensorflow/core/framework/tensor_shape.h
@@ -267,6 +267,8 @@ class TensorShapeUtils {
/// `dims[0]`, `dims[1]`, ..., `dims[n-1]`.
static Status MakeShape(const int32* dims, int64 n, TensorShape* out);
static Status MakeShape(const int64* dims, int64 n, TensorShape* out);
+ static Status MakeShape(gtl::ArraySlice<int32> shape, TensorShape* out);
+ static Status MakeShape(gtl::ArraySlice<int64> shape, TensorShape* out);
static string ShapeListString(const gtl::ArraySlice<TensorShape>& shapes);