Skip to content

Commit cb5fa96

Browse files
committed
Fix doclint errors
1 parent a6decfe commit cb5fa96

File tree

3 files changed

+7
-7
lines changed
  • ndarray/src/main/java/org/tensorflow/ndarray
  • tensorflow-framework/src/main/java/org/tensorflow/framework/initializers

3 files changed

+7
-7
lines changed

ndarray/src/main/java/org/tensorflow/ndarray/Shape.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public long size() {
108108
* an unknown size, {@link Shape#UNKNOWN_SIZE} is returned.
109109
*
110110
* @param i the index of the dimension to get the size for. If this Shape has a known number of
111-
* dimensions, it must be < {@link Shape#numDimensions()}. The index may be negative, in which
111+
* dimensions, it must be &lt; {@link Shape#numDimensions()}. The index may be negative, in which
112112
* case the position is counted from the end of the shape. E.g.: {@code size(-1)} returns the
113113
* size of the last dimension, {@code size(-2)} the size of the second to last dimension etc.
114114
* @return The size of the dimension with the given index if known, {@link Shape#UNKNOWN_SIZE}
@@ -236,7 +236,7 @@ public Shape head() {
236236
* Returns an n-dimensional Shape with the dimensions matching the first n dimensions of this
237237
* shape
238238
*
239-
* @param n the number of leading dimensions to get, must be <= than {@link Shape#numDimensions()}
239+
* @param n the number of leading dimensions to get, must be &lt;= than {@link Shape#numDimensions()}
240240
* @return an n-dimensional Shape with the first n dimensions matching the first n dimensions of
241241
* this Shape
242242
*/
@@ -260,7 +260,7 @@ public Shape tail() {
260260
* Returns an n-dimensional Shape with the dimensions matching the last n dimensions of this
261261
* Shape.
262262
*
263-
* @param n the number of trailing dimensions to get, must be <= than {@link
263+
* @param n the number of trailing dimensions to get, must be &lt;= than {@link
264264
* Shape#numDimensions()}
265265
* @return an n-dimensional shape with the dimensions matching the last n dimensions of this
266266
* Shape, never null
@@ -326,7 +326,7 @@ public Shape prepend(Shape other) {
326326
/**
327327
* Returns a new Shape, with another Shapes' dimensions appended. For both this Shape and the
328328
* other Shape, {@link Shape#isUnknown()} must return false. E.g. @code
329-
* Shape.of(3,4).append(Shape.of(1,2)) => Shape.of(3,4,1,2) }
329+
* Shape.of(3,4).append(Shape.of(1,2)) =&gt; Shape.of(3,4,1,2) }
330330
*
331331
* @param other another Shape, must not be {@code null}, must not be unknown
332332
* @return A new Shape consisting of this Shape's dimensions followed by the given Shape's

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
<profile>
129129
<id>dev</id>
130130
<modules>
131-
<module>tensorflow-keras</module>
131+
<!-- Disabled while the library is still empty -->
132+
<!--module>tensorflow-keras</module-->
132133
</modules>
133134
</profile>
134135
<!--

tensorflow-framework/src/main/java/org/tensorflow/framework/initializers/LeCun.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@
6060
*
6161
* <p><b>NOTE:</b> *
6262
*
63-
* <p>For a LeCunNormal equivalent initializer, use {@link *
64-
* VarianceScaling.Distribution#TRUNCATED_NORMAL} for the distribution parameter. *
63+
* <p>For a LeCunNormal equivalent initializer, use {@link VarianceScaling.Distribution#TRUNCATED_NORMAL} for the distribution parameter. *
6564
*
6665
* <p>For a LeCunUniform equivalent initializer, use {@link VarianceScaling.Distribution#UNIFORM} *
6766
* for the distribution parameter. *

0 commit comments

Comments
 (0)