Skip to content

Commit 9a62e68

Browse files
Fix javadoc
Co-authored-by: Adam Pocock <[email protected]>
1 parent 1e86980 commit 9a62e68

File tree

265 files changed

+870
-862
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+870
-862
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<scm>
2828
<url>https://github.com/tensorflow/java.git</url>
29-
<connection>[email protected]:tensorflow/java.git</connection>
29+
<connection>scm:[email protected]:tensorflow/java.git</connection>
3030
<developerConnection>scm:git:https://github.com/tensorflow/java.git</developerConnection>
3131
</scm>
3232

tensorflow-core/tensorflow-core-api/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,12 @@
230230
<goal>jar</goal>
231231
</goals>
232232
<configuration>
233+
<additionalJOptions>
234+
<additionalJOption>-Xmaxerrs</additionalJOption>
235+
<additionalJOption>65536</additionalJOption>
236+
<additionalJOption>-Xmaxwarns</additionalJOption>
237+
<additionalJOption>65536</additionalJOption>
238+
</additionalJOptions>
233239
<failOnError>false</failOnError>
234240
<minmemory>256m</minmemory>
235241
<maxmemory>2048m</maxmemory>

tensorflow-core/tensorflow-core-api/src/api/api_def_SegmentSumV2.pbtxt

+14
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,18 @@ op {
44
endpoint {
55
name: "math.SegmentSum"
66
}
7+
description: <<END
8+
Read
9+
[the section on segmentation](https://tensorflow.org/api_docs/python/tf/math#Segmentation)
10+
for an explanation of segments.
11+
12+
Computes a tensor such that
13+
\\(output_i = \sum_j data_j\\) where sum is over `j` such
14+
that `segment_ids[j] == i`.
15+
16+
If the sum is empty for a given segment ID `i`, `output[i] = 0`.
17+
18+
Note that this op is currently only supported with jit_compile=True.
19+
20+
END
721
}

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/AudioOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* An API for building {@code audio} operations as {@link Op Op}s
3131
*
32-
* @see {@link Ops}
32+
* @see Ops
3333
*/
3434
public final class AudioOps {
3535
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/BitwiseOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/**
3030
* An API for building {@code bitwise} operations as {@link Op Op}s
3131
*
32-
* @see {@link Ops}
32+
* @see Ops
3333
*/
3434
public final class BitwiseOps {
3535
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ClusterOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/**
2727
* An API for building {@code cluster} operations as {@link Op Op}s
2828
*
29-
* @see {@link Ops}
29+
* @see Ops
3030
*/
3131
public final class ClusterOps {
3232
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/CollectiveOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
/**
3535
* An API for building {@code collective} operations as {@link Op Op}s
3636
*
37-
* @see {@link Ops}
37+
* @see Ops
3838
*/
3939
public final class CollectiveOps {
4040
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/DataExperimentalOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
/**
6767
* An API for building {@code data.experimental} operations as {@link Op Op}s
6868
*
69-
* @see {@link Ops}
69+
* @see Ops
7070
*/
7171
public final class DataExperimentalOps {
7272
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/DataOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
/**
156156
* An API for building {@code data} operations as {@link Op Op}s
157157
*
158-
* @see {@link Ops}
158+
* @see Ops
159159
*/
160160
public final class DataOps {
161161
public final DataExperimentalOps experimental;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/DebuggingOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* An API for building {@code debugging} operations as {@link Op Op}s
2626
*
27-
* @see {@link Ops}
27+
* @see Ops
2828
*/
2929
public final class DebuggingOps {
3030
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/DistributeOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/**
2828
* An API for building {@code distribute} operations as {@link Op Op}s
2929
*
30-
* @see {@link Ops}
30+
* @see Ops
3131
*/
3232
public final class DistributeOps {
3333
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/DtypesOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* An API for building {@code dtypes} operations as {@link Op Op}s
3030
*
31-
* @see {@link Ops}
31+
* @see Ops
3232
*/
3333
public final class DtypesOps {
3434
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ImageOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
/**
7272
* An API for building {@code image} operations as {@link Op Op}s
7373
*
74-
* @see {@link Ops}
74+
* @see Ops
7575
*/
7676
public final class ImageOps {
7777
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/IoOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
/**
7979
* An API for building {@code io} operations as {@link Op Op}s
8080
*
81-
* @see {@link Ops}
81+
* @see Ops
8282
*/
8383
public final class IoOps {
8484
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/LinalgOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
/**
8181
* An API for building {@code linalg} operations as {@link Op Op}s
8282
*
83-
* @see {@link Ops}
83+
* @see Ops
8484
*/
8585
public final class LinalgOps {
8686
public final LinalgSparseOps sparse;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/LinalgSparseOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
/**
4343
* An API for building {@code linalg.sparse} operations as {@link Op Op}s
4444
*
45-
* @see {@link Ops}
45+
* @see Ops
4646
*/
4747
public final class LinalgSparseOps {
4848
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/MathOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
/**
148148
* An API for building {@code math} operations as {@link Op Op}s
149149
*
150-
* @see {@link Ops}
150+
* @see Ops
151151
*/
152152
public final class MathOps {
153153
public final MathSpecialOps special;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/MathSpecialOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/**
3737
* An API for building {@code math.special} operations as {@link Op Op}s
3838
*
39-
* @see {@link Ops}
39+
* @see Ops
4040
*/
4141
public final class MathSpecialOps {
4242
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/NnOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
/**
139139
* An API for building {@code nn} operations as {@link Op Op}s
140140
*
141-
* @see {@link Ops}
141+
* @see Ops
142142
*/
143143
public final class NnOps {
144144
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/Ops.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -9159,7 +9159,7 @@ public <T extends TType> ZerosLike<T> zerosLike(Operand<T> x) {
91599159
/**
91609160
* Returns an API that builds operations with the provided name prefix.
91619161
*
9162-
* @see {@link Scope#withSubScope(String)}
9162+
* @see Scope#withSubScope(String)
91639163
*/
91649164
public Ops withSubScope(String childScopeName) {
91659165
return new Ops(scope.withSubScope(childScopeName));
@@ -9181,7 +9181,7 @@ public Ops withInitScope() {
91819181
/**
91829182
* Returns an API that uses the provided name for an op.
91839183
*
9184-
* @see {@link Scope#withName(String)}
9184+
* @see Scope#withName(String)
91859185
*/
91869186
public Ops withName(String opName) {
91879187
return new Ops(scope.withName(opName));
@@ -9190,7 +9190,7 @@ public Ops withName(String opName) {
91909190
/**
91919191
* Returns an API that places the created operations on the device(s) matching the provided spec.
91929192
*
9193-
* @see {@link Scope#withDevice(DeviceSpec)}
9193+
* @see Scope#withDevice(DeviceSpec)
91949194
*/
91959195
public Ops withDevice(DeviceSpec deviceSpec) {
91969196
return new Ops(scope.withDevice(deviceSpec));
@@ -9199,7 +9199,7 @@ public Ops withDevice(DeviceSpec deviceSpec) {
91999199
/**
92009200
* Returns an API that adds operations to the graph with the provided control dependencies.
92019201
*
9202-
* @see {@link Scope#withControlDependencies(Iterable<Op<?>>)}
9202+
* @see Scope#withControlDependencies(Iterable)
92039203
*/
92049204
public Ops withControlDependencies(Iterable<Op> controls) {
92059205
return new Ops(scope.withControlDependencies(controls));
@@ -9208,7 +9208,7 @@ public Ops withControlDependencies(Iterable<Op> controls) {
92089208
/**
92099209
* Returns an API that adds operations to the graph with the provided control dependencies.
92109210
*
9211-
* @see {@link Scope#withControlDependencies(Iterable<Op<?>>)}
9211+
* @see Scope#withControlDependencies(Iterable)
92129212
*/
92139213
public Ops withControlDependencies(Op... controls) {
92149214
return withControlDependencies(Arrays.asList(controls));
@@ -9217,7 +9217,7 @@ public Ops withControlDependencies(Op... controls) {
92179217
/**
92189218
* Returns an API that adds operations to the graph with the provided control dependencies.
92199219
*
9220-
* @see {@link Scope#withControlDependencyOps(Iterable<Operation>)}
9220+
* @see Scope#withControlDependencyOps(Iterable)
92219221
*/
92229222
public Ops withControlDependencyOps(Iterable<Operation> controls) {
92239223
return new Ops(scope.withControlDependencyOps(controls));
@@ -9226,7 +9226,7 @@ public Ops withControlDependencyOps(Iterable<Operation> controls) {
92269226
/**
92279227
* Returns an API that adds operations to the graph with the provided control dependencies.
92289228
*
9229-
* @see {@link Scope#withControlDependencyOps(Iterable<Operation>)}
9229+
* @see Scope#withControlDependencyOps(Iterable)
92309230
*/
92319231
public Ops withControlDependencyOps(Operation... controls) {
92329232
return withControlDependencyOps(Arrays.asList(controls));

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/QuantizationOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
/**
5050
* An API for building {@code quantization} operations as {@link Op Op}s
5151
*
52-
* @see {@link Ops}
52+
* @see Ops
5353
*/
5454
public final class QuantizationOps {
5555
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RaggedOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
/**
4040
* An API for building {@code ragged} operations as {@link Op Op}s
4141
*
42-
* @see {@link Ops}
42+
* @see Ops
4343
*/
4444
public final class RaggedOps {
4545
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomExperimentalOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
/**
2626
* An API for building {@code random.experimental} operations as {@link Op Op}s
2727
*
28-
* @see {@link Ops}
28+
* @see Ops
2929
*/
3030
public final class RandomExperimentalOps {
3131
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
/**
7676
* An API for building {@code random} operations as {@link Op Op}s
7777
*
78-
* @see {@link Ops}
78+
* @see Ops
7979
*/
8080
public final class RandomOps {
8181
public final RandomExperimentalOps experimental;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ShapeOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
/**
2929
* An API for building {@code shape} operations as {@link Op Op}s
3030
*
31-
* @see {@link Ops}
31+
* @see Ops
3232
*/
3333
public final class ShapeOps {
3434
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SignalOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
/**
4949
* An API for building {@code signal} operations as {@link Op Op}s
5050
*
51-
* @see {@link Ops}
51+
* @see Ops
5252
*/
5353
public final class SignalOps {
5454
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SparseOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
/**
7878
* An API for building {@code sparse} operations as {@link Op Op}s
7979
*
80-
* @see {@link Ops}
80+
* @see Ops
8181
*/
8282
public final class SparseOps {
8383
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/StringsOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
/**
5353
* An API for building {@code strings} operations as {@link Op Op}s
5454
*
55-
* @see {@link Ops}
55+
* @see Ops
5656
*/
5757
public final class StringsOps {
5858
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SummaryOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
/**
5050
* An API for building {@code summary} operations as {@link Op Op}s
5151
*
52-
* @see {@link Ops}
52+
* @see Ops
5353
*/
5454
public final class SummaryOps {
5555
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TpuOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
/**
131131
* An API for building {@code tpu} operations as {@link Op Op}s
132132
*
133-
* @see {@link Ops}
133+
* @see Ops
134134
*/
135135
public final class TpuOps {
136136
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TrainOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
/**
109109
* An API for building {@code train} operations as {@link Op Op}s
110110
*
111-
* @see {@link Ops}
111+
* @see Ops
112112
*/
113113
public final class TrainOps {
114114
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/XlaOps.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
/**
5151
* An API for building {@code xla} operations as {@link Op Op}s
5252
*
53-
* @see {@link Ops}
53+
* @see Ops
5454
*/
5555
public final class XlaOps {
5656
private final Scope scope;

tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ApproxTopK.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -291,17 +291,17 @@ public static class Inputs<T extends TNumber> extends RawOpInputs<ApproxTopK<T>>
291291

292292
/**
293293
* When set to a positive value, it overrides the size determined by
294-
* `input[reduction_dim]` for evaluating the recall. This option is useful when
295-
* the given `input` is only a subset of the overall computation in SPMD or
294+
* {@code input[reduction_dim]} for evaluating the recall. This option is useful when
295+
* the given {@code input} is only a subset of the overall computation in SPMD or
296296
* distributed pipelines, where the true input size cannot be deferred by the
297-
* `input` shape.
297+
* {@code input} shape.
298298
*/
299299
public final long reductionInputSizeOverride;
300300

301301
/**
302302
* When true, aggregates approximate results to top-k. When false, returns the
303303
* approximate results. The number of the approximate results is implementation
304-
* defined and is greater equals to the specified `k`.
304+
* defined and is greater equals to the specified {@code k}.
305305
*/
306306
public final boolean aggregateToTopk;
307307

tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/BatchFunction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ public static class Inputs extends RawOpInputs<BatchFunction> {
588588

589589
/**
590590
* input with a large size (i.e., larger than the largest value of
591-
* `allowed_batch_sizes`) will be splitted into multiple batches with batch size.
591+
* {@code allowed_batch_sizes}) will be splitted into multiple batches with batch size.
592592
*/
593593
public final boolean enableLargeBatchSplitting;
594594

tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CompositeTensorVariantToComponents.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public static class Inputs extends RawOpInputs<CompositeTensorVariantToComponent
113113

114114
/**
115115
* String serialization for the TypeSpec. Must be compatible with the
116-
* `TypeSpec` contained in `encoded`. (Note: the encoding for the TypeSpec
116+
* {@code TypeSpec} contained in {@code encoded}. (Note: the encoding for the TypeSpec
117117
* may change in future versions of TensorFlow.)
118118
*/
119119
public final String metadata;

0 commit comments

Comments
 (0)