aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/framework/tensor_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/framework/tensor_shape.h')
-rw-r--r--tensorflow/core/framework/tensor_shape.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/core/framework/tensor_shape.h b/tensorflow/core/framework/tensor_shape.h
index adb41b81c6..fe2ba375aa 100644
--- a/tensorflow/core/framework/tensor_shape.h
+++ b/tensorflow/core/framework/tensor_shape.h
@@ -191,9 +191,6 @@ class TensorShapeBase : public TensorShapeRep {
/// Appends all the dimensions from `shape`.
void AppendShape(const TensorShapeBase& shape);
- // Maximum number of dimensions in a tensor.
- static constexpr int MaxDimensions() { return 254; }
-
/// \brief Insert a dimension somewhere in the `TensorShape`.
/// REQUIRES: `0 <= d <= dims()`
/// REQUIRES: `size >= 0`