aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/java/src
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/java/src')
-rw-r--r--tensorflow/java/src/main/java/org/tensorflow/Shape.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/java/src/main/java/org/tensorflow/Shape.java b/tensorflow/java/src/main/java/org/tensorflow/Shape.java
index a177cdaf7a..d99b0078f6 100644
--- a/tensorflow/java/src/main/java/org/tensorflow/Shape.java
+++ b/tensorflow/java/src/main/java/org/tensorflow/Shape.java
@@ -105,7 +105,7 @@ public final class Shape {
* Returns the shape as an array.
*
* <p>Each element represent the size of the dimension at the given index. For example,
- * {@code shape.asArray()[4]} is equal to the size of the fourth dimension in this shape.
+ * {@code shape.asArray()[2]} is equal to the size of the third dimension of this shape.
*/
public long[] asArray() {
return shape;