diff --git a/pom.xml b/pom.xml index 41d80cf24fa..1df4476f916 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,7 @@ https://github.com/tensorflow/java.git - git@github.com:tensorflow/java.git + scm:git@github.com:tensorflow/java.git scm:git:https://github.com/tensorflow/java.git diff --git a/tensorflow-core/tensorflow-core-api/pom.xml b/tensorflow-core/tensorflow-core-api/pom.xml index 70150b68fde..d08f7733cba 100644 --- a/tensorflow-core/tensorflow-core-api/pom.xml +++ b/tensorflow-core/tensorflow-core-api/pom.xml @@ -230,6 +230,12 @@ jar + + -Xmaxerrs + 65536 + -Xmaxwarns + 65536 + false 256m 2048m diff --git a/tensorflow-core/tensorflow-core-api/src/api/api_def_SegmentSumV2.pbtxt b/tensorflow-core/tensorflow-core-api/src/api/api_def_SegmentSumV2.pbtxt index 0895c391f2b..4478e3a5fb8 100644 --- a/tensorflow-core/tensorflow-core-api/src/api/api_def_SegmentSumV2.pbtxt +++ b/tensorflow-core/tensorflow-core-api/src/api/api_def_SegmentSumV2.pbtxt @@ -4,4 +4,18 @@ op { endpoint { name: "math.SegmentSum" } + description: < ZerosLike zerosLike(Operand x) { /** * Returns an API that builds operations with the provided name prefix. * - * @see {@link Scope#withSubScope(String)} + * @see Scope#withSubScope(String) */ public Ops withSubScope(String childScopeName) { return new Ops(scope.withSubScope(childScopeName)); @@ -9181,7 +9181,7 @@ public Ops withInitScope() { /** * Returns an API that uses the provided name for an op. * - * @see {@link Scope#withName(String)} + * @see Scope#withName(String) */ public Ops withName(String opName) { return new Ops(scope.withName(opName)); @@ -9190,7 +9190,7 @@ public Ops withName(String opName) { /** * Returns an API that places the created operations on the device(s) matching the provided spec. * - * @see {@link Scope#withDevice(DeviceSpec)} + * @see Scope#withDevice(DeviceSpec) */ public Ops withDevice(DeviceSpec deviceSpec) { return new Ops(scope.withDevice(deviceSpec)); @@ -9199,7 +9199,7 @@ public Ops withDevice(DeviceSpec deviceSpec) { /** * Returns an API that adds operations to the graph with the provided control dependencies. * - * @see {@link Scope#withControlDependencies(Iterable>)} + * @see Scope#withControlDependencies(Iterable) */ public Ops withControlDependencies(Iterable controls) { return new Ops(scope.withControlDependencies(controls)); @@ -9208,7 +9208,7 @@ public Ops withControlDependencies(Iterable controls) { /** * Returns an API that adds operations to the graph with the provided control dependencies. * - * @see {@link Scope#withControlDependencies(Iterable>)} + * @see Scope#withControlDependencies(Iterable) */ public Ops withControlDependencies(Op... controls) { return withControlDependencies(Arrays.asList(controls)); @@ -9217,7 +9217,7 @@ public Ops withControlDependencies(Op... controls) { /** * Returns an API that adds operations to the graph with the provided control dependencies. * - * @see {@link Scope#withControlDependencyOps(Iterable)} + * @see Scope#withControlDependencyOps(Iterable) */ public Ops withControlDependencyOps(Iterable controls) { return new Ops(scope.withControlDependencyOps(controls)); @@ -9226,7 +9226,7 @@ public Ops withControlDependencyOps(Iterable controls) { /** * Returns an API that adds operations to the graph with the provided control dependencies. * - * @see {@link Scope#withControlDependencyOps(Iterable)} + * @see Scope#withControlDependencyOps(Iterable) */ public Ops withControlDependencyOps(Operation... controls) { return withControlDependencyOps(Arrays.asList(controls)); diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/QuantizationOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/QuantizationOps.java index 54527d187d0..99f3648ea27 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/QuantizationOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/QuantizationOps.java @@ -49,7 +49,7 @@ /** * An API for building {@code quantization} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class QuantizationOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RaggedOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RaggedOps.java index ddc1e0c4c0e..83bf63f461f 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RaggedOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RaggedOps.java @@ -39,7 +39,7 @@ /** * An API for building {@code ragged} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class RaggedOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomExperimentalOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomExperimentalOps.java index b1d86643cce..09a2b385b6f 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomExperimentalOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomExperimentalOps.java @@ -25,7 +25,7 @@ /** * An API for building {@code random.experimental} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class RandomExperimentalOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomOps.java index 8abc032de91..3c62a3b57a1 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/RandomOps.java @@ -75,7 +75,7 @@ /** * An API for building {@code random} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class RandomOps { public final RandomExperimentalOps experimental; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ShapeOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ShapeOps.java index 4b00d892c94..c9cdae676a4 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ShapeOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/ShapeOps.java @@ -28,7 +28,7 @@ /** * An API for building {@code shape} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class ShapeOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SignalOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SignalOps.java index 0fb3e8edde0..33e2cd4d920 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SignalOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SignalOps.java @@ -48,7 +48,7 @@ /** * An API for building {@code signal} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class SignalOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SparseOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SparseOps.java index 363421a5125..91726a9a693 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SparseOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SparseOps.java @@ -77,7 +77,7 @@ /** * An API for building {@code sparse} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class SparseOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/StringsOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/StringsOps.java index 61b4655473e..b7d38d58553 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/StringsOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/StringsOps.java @@ -52,7 +52,7 @@ /** * An API for building {@code strings} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class StringsOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SummaryOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SummaryOps.java index 0cb2c188fe1..d7690d11d71 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SummaryOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/SummaryOps.java @@ -49,7 +49,7 @@ /** * An API for building {@code summary} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class SummaryOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TpuOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TpuOps.java index 9fac44a94f3..59a9f973858 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TpuOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TpuOps.java @@ -130,7 +130,7 @@ /** * An API for building {@code tpu} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class TpuOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TrainOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TrainOps.java index fd4a9bbd02b..0442b896828 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TrainOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/TrainOps.java @@ -108,7 +108,7 @@ /** * An API for building {@code train} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class TrainOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/XlaOps.java b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/XlaOps.java index c1a5a97d146..75f9104ce4b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/XlaOps.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/annotations/org/tensorflow/op/XlaOps.java @@ -50,7 +50,7 @@ /** * An API for building {@code xla} operations as {@link Op Op}s * - * @see {@link Ops} + * @see Ops */ public final class XlaOps { private final Scope scope; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ApproxTopK.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ApproxTopK.java index ad97098d481..1daca9f077e 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ApproxTopK.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ApproxTopK.java @@ -291,17 +291,17 @@ public static class Inputs extends RawOpInputs> /** * When set to a positive value, it overrides the size determined by - * `input[reduction_dim]` for evaluating the recall. This option is useful when - * the given `input` is only a subset of the overall computation in SPMD or + * {@code input[reduction_dim]} for evaluating the recall. This option is useful when + * the given {@code input} is only a subset of the overall computation in SPMD or * distributed pipelines, where the true input size cannot be deferred by the - * `input` shape. + * {@code input} shape. */ public final long reductionInputSizeOverride; /** * When true, aggregates approximate results to top-k. When false, returns the * approximate results. The number of the approximate results is implementation - * defined and is greater equals to the specified `k`. + * defined and is greater equals to the specified {@code k}. */ public final boolean aggregateToTopk; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/BatchFunction.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/BatchFunction.java index 6399060fb08..d544fdeca5a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/BatchFunction.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/BatchFunction.java @@ -588,7 +588,7 @@ public static class Inputs extends RawOpInputs { /** * input with a large size (i.e., larger than the largest value of - * `allowed_batch_sizes`) will be splitted into multiple batches with batch size. + * {@code allowed_batch_sizes}) will be splitted into multiple batches with batch size. */ public final boolean enableLargeBatchSplitting; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CompositeTensorVariantToComponents.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CompositeTensorVariantToComponents.java index 40f7209a04a..e8288c59607 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CompositeTensorVariantToComponents.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CompositeTensorVariantToComponents.java @@ -113,7 +113,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> { /** * A list of debug op spec (op, url, gated_grpc) for attached debug * ops. Each element of the list has the format - * ;;, wherein gated_grpc is boolean represented - * as 0/1. E.g., "DebugIdentity;grpc://foo:3333;1", - * "DebugIdentity;file:///tmp/tfdbg_1;0". + * <debug_op>;<grpc_url>;<gated_grpc>, wherein gated_grpc is boolean represented + * as 0/1. E.g., "DebugIdentity;grpc://foo:3333;1", + * "DebugIdentity;file:///tmp/tfdbg_1;0". */ public final String[] debugOpsSpec; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CopyHost.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CopyHost.java index 4a650c8bc0a..59af18c8b33 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CopyHost.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/CopyHost.java @@ -221,9 +221,9 @@ public static class Inputs extends RawOpInputs> { /** * A list of debug op spec (op, url, gated_grpc) for attached debug * ops. Each element of the list has the format - * ;;, wherein gated_grpc is boolean represented - * as 0/1. E.g., "DebugIdentity;grpc://foo:3333;1", - * "DebugIdentity;file:///tmp/tfdbg_1;0". + * <debug_op>;<grpc_url>;<gated_grpc>, wherein gated_grpc is boolean represented + * as 0/1. E.g., "DebugIdentity;grpc://foo:3333;1", + * "DebugIdentity;file:///tmp/tfdbg_1;0". */ public final String[] debugOpsSpec; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/DecodeProto.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/DecodeProto.java index ab5d32b01cc..be36191dd31 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/DecodeProto.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/DecodeProto.java @@ -298,13 +298,13 @@ public static class Inputs extends RawOpInputs { public final DataType[] outputTypes; /** - * Either the special value `local://` or a path to a file containing - * a serialized `FileDescriptorSet`. + * Either the special value {@code local://} or a path to a file containing + * a serialized {@code FileDescriptorSet}. */ public final String descriptorSource; /** - * Either `binary` or `text`. + * Either {@code binary} or {@code text}. */ public final String messageFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/EditDistance.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/EditDistance.java index 959f61975ea..228743f17cd 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/EditDistance.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/EditDistance.java @@ -222,8 +222,7 @@ public static class Inputs extends RawOpInputs { /** * boolean (if true, edit distances are normalized by length of truth). - * - * The output is: + *

The output is: */ public final boolean normalize; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ExtractVolumePatches.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ExtractVolumePatches.java index cd19ad800ff..12afb6060b3 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ExtractVolumePatches.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/ExtractVolumePatches.java @@ -123,13 +123,13 @@ public static class Inputs extends RawOpInputs input; /** - * The size of the sliding window for each dimension of `input`. + * The size of the sliding window for each dimension of {@code input}. */ public final long[] ksizes; /** * 1-D of length 5. How far the centers of two consecutive patches are in - * `input`. Must be: `[1, stride_planes, stride_rows, stride_cols, 1]`. + * {@code input}. Must be: {@code [1, stride_planes, stride_rows, stride_cols, 1]}. */ public final long[] strides; @@ -140,13 +140,11 @@ public static class Inputs extends RawOpInputsThe size-related attributes are specified as follows: + *

      * ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]
      * strides = [1, stride_planes, strides_rows, strides_cols, 1]
-     * ```
+     * 
*/ public final String padding; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/FakeParam.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/FakeParam.java index 1f6ceeecc16..ee07de5268d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/FakeParam.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/FakeParam.java @@ -110,8 +110,10 @@ public static class Inputs extends RawOpInputs> { public final DataType dtype; /** - * The purported shape of the output. This is only used for shape inference; - * the output will not necessarily have this shape. Can be a partial shape. + *
+     * The purported shape of the output. This is only used for shape inference;
+     * the output will not necessarily have this shape. Can be a partial shape.
+     * 
*/ public final Shape shape; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/HostConst.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/HostConst.java index b655a120ae6..8aa7bf2e13c 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/HostConst.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/HostConst.java @@ -97,7 +97,7 @@ public Output asOutput() { ) public static class Inputs extends RawOpInputs> { /** - * Attr `value` is the tensor to return. + * Attr {@code value} is the tensor to return. */ public final Tensor value; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/InitializeTableFromTextFile.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/InitializeTableFromTextFile.java index 1da5f008223..d8a78e24266 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/InitializeTableFromTextFile.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/InitializeTableFromTextFile.java @@ -192,13 +192,13 @@ public static class Inputs extends RawOpInputs { public final Operand filename; /** - * Column index in a line to get the table `key` values from. + * Column index in a line to get the table {@code key} values from. */ public final long keyIndex; /** * Column index that represents information of a line to get the table - * `value` values from. + * {@code value} values from. */ public final long valueIndex; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MapStage.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MapStage.java index 8242cfaa5c1..19d9c0e99f9 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MapStage.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MapStage.java @@ -220,7 +220,7 @@ public static class Inputs extends RawOpInputs { public final Iterable> values; /** - * Maximum number of elements in the Staging Area. If > 0, inserts + * Maximum number of elements in the Staging Area. If > 0, inserts * on the container will block when the capacity is reached. */ public final long capacity; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPad.java index 172a9a91c32..e63036ec117 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPad.java @@ -146,11 +146,11 @@ public static class Inputs extends RawOpInputs> { public final DataType Tpaddings; /** - * Either `REFLECT` or `SYMMETRIC`. In reflect mode the padded regions + * Either {@code REFLECT} or {@code SYMMETRIC}. In reflect mode the padded regions * do not include the borders, while in symmetric mode the padded regions - * do include the borders. For example, if `input` is `[1, 2, 3]` and `paddings` - * is `[0, 2]`, then the output is `[1, 2, 3, 2, 1]` in reflect mode, and - * it is `[1, 2, 3, 3, 2]` in symmetric mode. + * do include the borders. For example, if {@code input} is {@code [1, 2, 3]} and {@code paddings} + * is {@code [0, 2]}, then the output is {@code [1, 2, 3, 2, 1]} in reflect mode, and + * it is {@code [1, 2, 3, 3, 2]} in symmetric mode. */ public final String mode; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPadGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPadGrad.java index 6e8c0d0680f..64235a34e0a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPadGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/MirrorPadGrad.java @@ -135,7 +135,7 @@ public static class Inputs extends RawOpInputs public final DataType Tpaddings; /** - * The mode used in the `MirrorPad` op. + * The mode used in the {@code MirrorPad} op. */ public final String mode; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/OrderedMapStage.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/OrderedMapStage.java index 7ce2df9f31b..cd5c7dfdec3 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/OrderedMapStage.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/OrderedMapStage.java @@ -221,7 +221,7 @@ public static class Inputs extends RawOpInputs { public final Iterable> values; /** - * Maximum number of elements in the Staging Area. If > 0, inserts + * Maximum number of elements in the Staging Area. If > 0, inserts * on the container will block when the capacity is reached. */ public final long capacity; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/RandomIndexShuffle.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/RandomIndexShuffle.java index 5ac291f867d..68cd7f9f0eb 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/RandomIndexShuffle.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/RandomIndexShuffle.java @@ -166,7 +166,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> { /** * If specified, only squeezes the dimensions listed. The dimension * index starts at 0. It is an error to squeeze a dimension that is not 1. Must - * be in the range `[-rank(input), rank(input))`. + * be in the range {@code [-rank(input), rank(input))}. */ public final long[] axis; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stack.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stack.java index 81b4adc7f5e..0022997321a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stack.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stack.java @@ -162,7 +162,7 @@ public static class Inputs extends RawOpInputs> { /** * Dimension along which to pack. Negative values wrap around, so the - * valid range is `[-(R+1), R+1)`. + * valid range is {@code [-(R+1), R+1)}. */ public final long axis; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StackPush.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StackPush.java index 33a9ecf85a1..c43aa1de30e 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StackPush.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StackPush.java @@ -150,7 +150,7 @@ public static class Inputs extends RawOpInputs> { public final DataType T; /** - * Swap `elem` to CPU. Default to false. + * Swap {@code elem} to CPU. Default to false. */ public final boolean swapMemory; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stage.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stage.java index 3b68db75d98..11adc169e0d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stage.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Stage.java @@ -203,14 +203,14 @@ public static class Inputs extends RawOpInputs { public final Iterable> values; /** - * Maximum number of elements in the Staging Area. If > 0, inserts + * Maximum number of elements in the Staging Area. If > 0, inserts * on the container will block when the capacity is reached. */ public final long capacity; /** * The maximum number of bytes allowed for Tensors in the Staging Area. - * If > 0, inserts will block until sufficient space is available. + * If > 0, inserts will block until sufficient space is available. */ public final long memoryLimit; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StridedSlice.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StridedSlice.java index fd8a07ebe47..6b8953f7995 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StridedSlice.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/StridedSlice.java @@ -422,40 +422,40 @@ public static class Inputs extends RawOpInpu /** * a bitmask where a bit i being 1 means to ignore the begin * value and instead use the largest interval possible. At runtime - * begin[i] will be replaced with `[0, n-1)` if `stride[i] > 0` or - * `[-1, n-1]` if `stride[i] < 0` + * begin[i] will be replaced with {@code [0, n-1)} if {@code stride[i] > 0} or + * {@code [-1, n-1]} if {@code stride[i] < 0} */ public final long beginMask; /** - * analogous to `begin_mask` + * analogous to {@code begin_mask} */ public final long endMask; /** - * a bitmask where bit `i` being 1 means the `i`th + * a bitmask where bit {@code i} being 1 means the {@code i}th * position is actually an ellipsis. One bit at most can be 1. - * If `ellipsis_mask == 0`, then an implicit ellipsis mask of `1 << (m+1)` - * is provided. This means that `foo[3:5] == foo[3:5, ...]`. An ellipsis + * If {@code ellipsis_mask == 0}, then an implicit ellipsis mask of {@code 1 << (m+1)} + * is provided. This means that {@code foo[3:5] == foo[3:5, ...]}. An ellipsis * implicitly creates as many range specifications as necessary to fully * specify the sliced range for every dimension. For example for a 4-dimensional - * tensor `foo` the slice `foo[2, ..., 5:8]` implies `foo[2, :, :, 5:8]`. + * tensor {@code foo} the slice {@code foo[2, ..., 5:8]} implies {@code foo[2, :, :, 5:8]}. */ public final long ellipsisMask; /** - * a bitmask where bit `i` being 1 means the `i`th + * a bitmask where bit {@code i} being 1 means the {@code i}th * specification creates a new shape 1 dimension. For example - * `foo[:4, tf.newaxis, :2]` would produce a shape `(4, 1, 2)` tensor. + * {@code foo[:4, tf.newaxis, :2]} would produce a shape {@code (4, 1, 2)} tensor. */ public final long newAxisMask; /** - * a bitmask where bit `i` implies that the `i`th + * a bitmask where bit {@code i} implies that the {@code i}th * specification should shrink the dimensionality. begin and end * must imply a slice of size 1 in the dimension. For example in - * python one might do `foo[:, 3, :]` which would result in - * `shrink_axis_mask` being 2. + * python one might do {@code foo[:, 3, :]} which would result in + * {@code shrink_axis_mask} being 2. */ public final long shrinkAxisMask; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Unstack.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Unstack.java index 3d04ec1ebc7..fd20a76940d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Unstack.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/core/Unstack.java @@ -163,7 +163,7 @@ public static class Inputs extends RawOpInputs> { /** * Dimension along which to unpack. Negative values wrap around, so the - * valid range is `[-R, R)`. + * valid range is {@code [-R, R)}. */ public final long axis; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/OptionsDataset.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/OptionsDataset.java index 596ed69844b..529b1b93eaa 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/OptionsDataset.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/OptionsDataset.java @@ -153,7 +153,7 @@ public static class Inputs extends RawOpInputs { public final Operand inputDataset; /** - * A `tf.string` scalar `tf.Tensor` of serialized `tf.data.Options` protocol buffer. + * A {@code tf.string} scalar {@code tf.Tensor} of serialized {@code tf.data.Options} protocol buffer. */ public final String serializedOptions; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelFilterDataset.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelFilterDataset.java index 5dece763295..f87d2a27269 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelFilterDataset.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelFilterDataset.java @@ -219,8 +219,8 @@ public static class Inputs extends RawOpInputs { * A string indicating the op-level determinism to use. Deterministic controls * whether the interleave is allowed to return elements out of order if the next * element to be returned isn't available, but a later element is. Options are - * "true", "false", and "default". "default" indicates that determinism should be - * decided by the `experimental_deterministic` parameter of `tf.data.Options`. + * "true", "false", and "default". "default" indicates that determinism should be + * decided by the {@code experimental_deterministic} parameter of {@code tf.data.Options}. */ public final String deterministic; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelInterleaveDataset.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelInterleaveDataset.java index 17ae267ff18..d46fd839fc4 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelInterleaveDataset.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParallelInterleaveDataset.java @@ -265,13 +265,13 @@ public static class Inputs extends RawOpInputs { * A string indicating the op-level determinism to use. Deterministic controls * whether the interleave is allowed to return elements out of order if the next * element to be returned isn't available, but a later element is. Options are - * "true", "false", and "default". "default" indicates that determinism should be - * decided by the `experimental_deterministic` parameter of `tf.data.Options`. + * "true", "false", and "default". "default" indicates that determinism should be + * decided by the {@code experimental_deterministic} parameter of {@code tf.data.Options}. */ public final String deterministic; /** - * Types of the elements of `other_arguments`. + * Types of the elements of {@code other_arguments}. */ public final DataType[] Targuments; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParseExampleDataset.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParseExampleDataset.java index 64662ec8ce3..c50ec51e906 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParseExampleDataset.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/ParseExampleDataset.java @@ -268,7 +268,7 @@ public static class Inputs extends RawOpInputs { /** * A list of string keys in the examples features. - * The results for these keys will be returned as `SparseTensor` objects. + * The results for these keys will be returned as {@code SparseTensor} objects. */ public final String[] sparseKeys; @@ -279,23 +279,23 @@ public static class Inputs extends RawOpInputs { public final String[] denseKeys; /** - * A list of `DTypes` of the same length as `sparse_keys`. - * Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`), - * and `tf.string` (`BytesList`) are supported. + * A list of {@code DTypes} of the same length as {@code sparse_keys}. + * Only {@code tf.float32} ({@code FloatList}), {@code tf.int64} ({@code Int64List}), + * and {@code tf.string} ({@code BytesList}) are supported. */ public final DataType[] sparseTypes; /** - * A list of DTypes of the same length as `dense_keys`. - * Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`), - * and `tf.string` (`BytesList`) are supported. + * A list of DTypes of the same length as {@code dense_keys}. + * Only {@code tf.float32} ({@code FloatList}), {@code tf.int64} ({@code Int64List}), + * and {@code tf.string} ({@code BytesList}) are supported. */ public final DataType[] Tdense; /** - * List of tuples with the same length as `dense_keys`. - * The shape of the data for each dense feature referenced by `dense_keys`. - * Required for any input tensors identified by `dense_keys`. Must be + * List of tuples with the same length as {@code dense_keys}. + * The shape of the data for each dense feature referenced by {@code dense_keys}. + * Required for any input tensors identified by {@code dense_keys}. Must be * either fully defined, or may contain an unknown first dimension. * An unknown first dimension means the feature is treated as having * a variable number of blocks, and the output shape along this dimension @@ -319,8 +319,8 @@ public static class Inputs extends RawOpInputs { * A string indicating the op-level determinism to use. Deterministic controls * whether the dataset is allowed to return elements out of order if the next * element to be returned isn't available, but a later element is. Options are - * "true", "false", and "default". "default" indicates that determinism should be - * decided by the `experimental_deterministic` parameter of `tf.data.Options`. + * "true", "false", and "default". "default" indicates that determinism should be + * decided by the {@code experimental_deterministic} parameter of {@code tf.data.Options}. */ public final String deterministic; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/experimental/ParseExampleDataset.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/experimental/ParseExampleDataset.java index 9ba31aa0995..28c138c0032 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/experimental/ParseExampleDataset.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/data/experimental/ParseExampleDataset.java @@ -202,7 +202,7 @@ public static class Inputs extends RawOpInputs { /** * A list of string keys in the examples features. - * The results for these keys will be returned as `SparseTensor` objects. + * The results for these keys will be returned as {@code SparseTensor} objects. */ public final String[] sparseKeys; @@ -213,23 +213,23 @@ public static class Inputs extends RawOpInputs { public final String[] denseKeys; /** - * A list of `DTypes` of the same length as `sparse_keys`. - * Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`), - * and `tf.string` (`BytesList`) are supported. + * A list of {@code DTypes} of the same length as {@code sparse_keys}. + * Only {@code tf.float32} ({@code FloatList}), {@code tf.int64} ({@code Int64List}), + * and {@code tf.string} ({@code BytesList}) are supported. */ public final DataType[] sparseTypes; /** - * A list of DTypes of the same length as `dense_keys`. - * Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`), - * and `tf.string` (`BytesList`) are supported. + * A list of DTypes of the same length as {@code dense_keys}. + * Only {@code tf.float32} ({@code FloatList}), {@code tf.int64} ({@code Int64List}), + * and {@code tf.string} ({@code BytesList}) are supported. */ public final DataType[] Tdense; /** - * List of tuples with the same length as `dense_keys`. - * The shape of the data for each dense feature referenced by `dense_keys`. - * Required for any input tensors identified by `dense_keys`. Must be + * List of tuples with the same length as {@code dense_keys}. + * The shape of the data for each dense feature referenced by {@code dense_keys}. + * Required for any input tensors identified by {@code dense_keys}. Must be * either fully defined, or may contain an unknown first dimension. * An unknown first dimension means the feature is treated as having * a variable number of blocks, and the output shape along this dimension diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugIdentity.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugIdentity.java index 89854abdc1d..63c7105e3c8 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugIdentity.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugIdentity.java @@ -364,17 +364,17 @@ public static class Inputs extends RawOpInputs /** * List of URLs to debug targets, e.g., - * file:///foo/tfdbg_dump, grpc:://localhost:11011 + * file:///foo/tfdbg_dump, grpc:://localhost:11011 */ public final String[] debugUrls; /** * Whether this op will be gated. If any of the debug_urls of this - * debug node is of the grpc:// scheme, when the value of this attribute is set - * to True, the data will not actually be sent via the grpc stream unless this - * debug op has been enabled at the debug_url. If all of the debug_urls of this - * debug node are of the grpc:// scheme and the debug op is enabled at none of - * them, the output will be an empty Tensor. + * debug node is of the grpc:// scheme, when the value of this attribute is set + * to True, the data will not actually be sent via the grpc stream unless this + * debug op has been enabled at the debug_url. If all of the debug_urls of this + * debug node are of the grpc:// scheme and the debug op is enabled at none of + * them, the output will be an empty Tensor. */ public final boolean gatedGrpc; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNanCount.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNanCount.java index 4bc52436f35..2d0e2f5fe94 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNanCount.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNanCount.java @@ -269,17 +269,17 @@ public static class Inputs extends RawOpInputs { /** * List of URLs to debug targets, e.g., - * file:///foo/tfdbg_dump, grpc:://localhost:11011. + * file:///foo/tfdbg_dump, grpc:://localhost:11011. */ public final String[] debugUrls; /** - * Whether this op will be gated. If any of the debug_urls of this - * debug node is of the grpc:// scheme, when the value of this attribute is set - * to True, the data will not actually be sent via the grpc stream unless this - * debug op has been enabled at the debug_url. If all of the debug_urls of this - * debug node are of the grpc:// scheme and the debug op is enabled at none of - * them, the output will be an empty Tensor. + * Whether this op will be gated. If any of the debug_urls of this + * debug node is of the grpc:// scheme, when the value of this attribute is set + * to True, the data will not actually be sent via the grpc stream unless this + * debug op has been enabled at the debug_url. If all of the debug_urls of this + * debug node are of the grpc:// scheme and the debug op is enabled at none of + * them, the output will be an empty Tensor. */ public final boolean gatedGrpc; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNumericsSummary.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNumericsSummary.java index 416438128d2..ec63e9da708 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNumericsSummary.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/debugging/DebugNumericsSummary.java @@ -291,59 +291,53 @@ public static class Inputs extends RawOpInputs> { /** * Tensor debug mode: the mode in which the input tensor is summarized - * by the op. See the TensorDebugMode enum in - * tensorflow/core/protobuf/debug_event.proto for details. - * - * Supported values: - * 2 (CURT_HEALTH): Output a float32/64 tensor of shape [2]. The 1st - * element is the tensor_id, if provided, and -1 otherwise. The 2nd - * element is a bit which is set to 1 if the input tensor has an - * infinity or nan value, or zero otherwise. - * - * 3 (CONCISE_HEALTH): Output a float32/64 tensor of shape [5]. The 1st - * element is the tensor_id, if provided, and -1 otherwise. The - * remaining four slots are the total number of elements, -infs, - * +infs, and nans in the input tensor respectively. - * - * 4 (FULL_HEALTH): Output a float32/64 tensor of shape [11]. The 1st - * element is the tensor_id, if provided, and -1 otherwise. The 2nd - * element is the device_id, if provided, and -1 otherwise. The 3rd - * element holds the datatype value of the input tensor as according - * to the enumerated type in tensorflow/core/framework/types.proto. - * The remaining elements hold the total number of elements, -infs, - * +infs, nans, negative finite numbers, zeros, and positive finite - * numbers in the input tensor respectively. - * - * 5 (SHAPE): Output a float32/64 tensor of shape [10]. The 1st - * element is the tensor_id, if provided, and -1 otherwise. The 2nd - * element holds the datatype value of the input tensor as according - * to the enumerated type in tensorflow/core/framework/types.proto. - * The 3rd element holds the rank of the tensor. The 4th element holds - * the number of elements within the tensor. Finally the remaining 6 - * elements hold the shape of the tensor. If the rank of the tensor - * is lower than 6, the shape is right padded with zeros. If the rank - * is greater than 6, the head of the shape is truncated. - * - * 6 (FULL_NUMERICS): Output a float32/64 tensor of shape [22]. The 1st - * element is the tensor_id, if provided, and -1 otherwise. The 2nd - * element is the device_id, if provided, and -1 otherwise. The 3rd - * element holds the datatype value of the input tensor as according - * to the enumerated type in tensorflow/core/framework/types.proto. - * The 4th element holds the rank of the tensor. The 5th to 11th - * elements hold the shape of the tensor. If the rank of the tensor - * is lower than 6, the shape is right padded with zeros. If the rank - * is greater than 6, the head of the shape is truncated. The 12th to - * 18th elements hold the number of elements, -infs, +infs, nans, - * denormal floats, negative finite numbers, zeros, and positive - * finite numbers in the input tensor respectively. The final four - * elements hold the min value, max value, mean, and variance of the - * input tensor. - * - * 8 (REDUCE_INF_NAN_THREE_SLOTS): Output a float32/64 tensor of shape - * [3]. The 1st element is -inf if any elements of the input tensor - * is -inf, or zero otherwise. The 2nd element is +inf if any elements - * of the input tensor is +inf, or zero otherwise. The 3rd element is - * nan if any element of the input tensor is nan, or zero otherwise. + * by the op. See the TensorDebugMode enum in + * tensorflow/core/protobuf/debug_event.proto for details. + *

Supported values: + * 2 (CURT_HEALTH): Output a float32/64 tensor of shape [2]. The 1st + * element is the tensor_id, if provided, and -1 otherwise. The 2nd + * element is a bit which is set to 1 if the input tensor has an + * infinity or nan value, or zero otherwise. + *

3 (CONCISE_HEALTH): Output a float32/64 tensor of shape [5]. The 1st + * element is the tensor_id, if provided, and -1 otherwise. The + * remaining four slots are the total number of elements, -infs, + * +infs, and nans in the input tensor respectively. + *

4 (FULL_HEALTH): Output a float32/64 tensor of shape [11]. The 1st + * element is the tensor_id, if provided, and -1 otherwise. The 2nd + * element is the device_id, if provided, and -1 otherwise. The 3rd + * element holds the datatype value of the input tensor as according + * to the enumerated type in tensorflow/core/framework/types.proto. + * The remaining elements hold the total number of elements, -infs, + * +infs, nans, negative finite numbers, zeros, and positive finite + * numbers in the input tensor respectively. + *

5 (SHAPE): Output a float32/64 tensor of shape [10]. The 1st + * element is the tensor_id, if provided, and -1 otherwise. The 2nd + * element holds the datatype value of the input tensor as according + * to the enumerated type in tensorflow/core/framework/types.proto. + * The 3rd element holds the rank of the tensor. The 4th element holds + * the number of elements within the tensor. Finally the remaining 6 + * elements hold the shape of the tensor. If the rank of the tensor + * is lower than 6, the shape is right padded with zeros. If the rank + * is greater than 6, the head of the shape is truncated. + *

6 (FULL_NUMERICS): Output a float32/64 tensor of shape [22]. The 1st + * element is the tensor_id, if provided, and -1 otherwise. The 2nd + * element is the device_id, if provided, and -1 otherwise. The 3rd + * element holds the datatype value of the input tensor as according + * to the enumerated type in tensorflow/core/framework/types.proto. + * The 4th element holds the rank of the tensor. The 5th to 11th + * elements hold the shape of the tensor. If the rank of the tensor + * is lower than 6, the shape is right padded with zeros. If the rank + * is greater than 6, the head of the shape is truncated. The 12th to + * 18th elements hold the number of elements, -infs, +infs, nans, + * denormal floats, negative finite numbers, zeros, and positive + * finite numbers in the input tensor respectively. The final four + * elements hold the min value, max value, mean, and variance of the + * input tensor. + *

8 (REDUCE_INF_NAN_THREE_SLOTS): Output a float32/64 tensor of shape + * [3]. The 1st element is -inf if any elements of the input tensor + * is -inf, or zero otherwise. The 2nd element is +inf if any elements + * of the input tensor is +inf, or zero otherwise. The 3rd element is + * nan if any element of the input tensor is nan, or zero otherwise. */ public final long tensorDebugMode; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/dtypes/AsString.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/dtypes/AsString.java index 77ba7493eb7..1f9b0285c6c 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/dtypes/AsString.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/dtypes/AsString.java @@ -272,7 +272,7 @@ public static class Inputs extends RawOpInputs { /** * The post-decimal precision to use for floating point numbers. - * Only used if precision > -1. + * Only used if precision > -1. */ public final long precision; @@ -290,12 +290,12 @@ public static class Inputs extends RawOpInputs { /** * Pad pre-decimal numbers to this width. * Applies to both floating point and integer numbers. - * Only used if width > -1. + * Only used if width > -1. */ public final long width; /** - * The value to pad if width > -1. If empty, pads with spaces. + * The value to pad if width > -1. If empty, pads with spaces. * Another typical value is '0'. String cannot be longer than 1 character. */ public final String fill; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CombinedNonMaxSuppression.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CombinedNonMaxSuppression.java index 3f0811e69cc..d3dff6d2a2a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CombinedNonMaxSuppression.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CombinedNonMaxSuppression.java @@ -278,10 +278,10 @@ public static class Inputs extends RawOpInputs { /** * If false, the output nmsed boxes, scores and classes - * are padded/clipped to `max_total_size`. If true, the + * are padded/clipped to {@code max_total_size}. If true, the * output nmsed boxes, scores and classes are padded to be of length - * `max_size_per_class`*`num_classes`, unless it exceeds `max_total_size` in - * which case it is clipped to `max_total_size`. Defaults to false. + * {@code max_size_per_class}*{@code num_classes}, unless it exceeds {@code max_total_size} in + * which case it is clipped to {@code max_total_size}. Defaults to false. */ public final boolean padPerClass; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CropAndResize.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CropAndResize.java index 371015feb31..68289e7cdb3 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CropAndResize.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/CropAndResize.java @@ -239,7 +239,7 @@ public static class Inputs extends RawOpInputs { /** * A string specifying the sampling method for resizing. It can be either - * `"bilinear"` or `"nearest"` and default to `"bilinear"`. Currently two sampling + * {@code "bilinear"} or {@code "nearest"} and default to {@code "bilinear"}. Currently two sampling * methods are supported: Bilinear and Nearest Neighbor. */ public final String method; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeAndCropJpeg.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeAndCropJpeg.java index dbc4a9e33b3..9cf114193b3 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeAndCropJpeg.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeAndCropJpeg.java @@ -332,9 +332,9 @@ public static class Inputs extends RawOpInputs { /** * string specifying a hint about the algorithm used for - * decompression. Defaults to "" which maps to a system-specific - * default. Currently valid values are ["INTEGER_FAST", - * "INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal + * decompression. Defaults to "" which maps to a system-specific + * default. Currently valid values are ["INTEGER_FAST", + * "INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal * jpeg library changes to a version that does not have that specific * option.) */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeJpeg.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeJpeg.java index a6c1f60fc24..4deb6ce61e7 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeJpeg.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/DecodeJpeg.java @@ -323,9 +323,9 @@ public static class Inputs extends RawOpInputs { /** * string specifying a hint about the algorithm used for - * decompression. Defaults to "" which maps to a system-specific - * default. Currently valid values are ["INTEGER_FAST", - * "INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal + * decompression. Defaults to "" which maps to a system-specific + * default. Currently valid values are ["INTEGER_FAST", + * "INTEGER_ACCURATE"]. The hint may be ignored (e.g., the internal * jpeg library changes to a version that does not have that specific * option.) */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/EncodeJpeg.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/EncodeJpeg.java index 6f3468d21d0..7ff1e224e6a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/EncodeJpeg.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/EncodeJpeg.java @@ -387,8 +387,8 @@ public static class Inputs extends RawOpInputs { public final boolean chromaDownsampling; /** - * Unit used to specify `x_density` and `y_density`: - * pixels per inch (`'in'`) or centimeter (`'cm'`). + * Unit used to specify {@code x_density} and {@code y_density}: + * pixels per inch ({@code 'in'}) or centimeter ({@code 'cm'}). */ public final String densityUnit; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractGlimpse.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractGlimpse.java index ee24391b920..44daff67647 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractGlimpse.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractGlimpse.java @@ -285,9 +285,9 @@ public static class Inputs extends RawOpInputs { public final boolean uniformNoise; /** - * indicates if the noise should `uniform`, `gaussian`, or - * `zero`. The default is `uniform` which means the noise type - * will be decided by `uniform_noise`. + * indicates if the noise should {@code uniform}, {@code gaussian}, or + * {@code zero}. The default is {@code uniform} which means the noise type + * will be decided by {@code uniform_noise}. */ public final String noise; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractImagePatches.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractImagePatches.java index 375abcd8371..69492ac2873 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractImagePatches.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ExtractImagePatches.java @@ -130,23 +130,23 @@ public static class Inputs extends RawOpInputs images; /** - * The size of the sliding window for each dimension of `images`. + * The size of the sliding window for each dimension of {@code images}. */ public final long[] ksizes; /** * How far the centers of two consecutive patches are in - * the images. Must be: `[1, stride_rows, stride_cols, 1]`. + * the images. Must be: {@code [1, stride_rows, stride_cols, 1]}. */ public final long[] strides; /** - * Must be: `[1, rate_rows, rate_cols, 1]`. This is the + * Must be: {@code [1, rate_rows, rate_cols, 1]}. This is the * input stride, specifying how far two consecutive patch samples are in the * input. Equivalent to extracting patches with - * `patch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1)`, followed by - * subsampling them spatially by a factor of `rates`. This is equivalent to - * `rate` in dilated (a.k.a. Atrous) convolutions. + * {@code patch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1)}, followed by + * subsampling them spatially by a factor of {@code rates}. This is equivalent to + * {@code rate} in dilated (a.k.a. Atrous) convolutions. */ public final long[] rates; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ImageProjectiveTransformV2.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ImageProjectiveTransformV2.java index f18c2ebd219..572b3e59d16 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ImageProjectiveTransformV2.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/image/ImageProjectiveTransformV2.java @@ -174,12 +174,12 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs { /** * A scalar containing either (i) the empty string (no - * compression), (ii) "ZLIB", or (iii) "GZIP". + * compression), (ii) "ZLIB", or (iii) "GZIP". */ public final String compressionType; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodePaddedRaw.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodePaddedRaw.java index 90a8b357b66..0ef81b9eff2 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodePaddedRaw.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodePaddedRaw.java @@ -164,8 +164,8 @@ public static class Inputs extends RawOpInputs> { public final DataType outType; /** - * Whether the input `input_bytes` is in little-endian order. Ignored for - * `out_type` values that are stored in a single byte, like `uint8` + * Whether the input {@code input_bytes} is in little-endian order. Ignored for + * {@code out_type} values that are stored in a single byte, like {@code uint8} */ public final boolean littleEndian; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodeRaw.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodeRaw.java index f1405659a91..068d203c2b0 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodeRaw.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DecodeRaw.java @@ -155,9 +155,9 @@ public static class Inputs extends RawOpInputs> { public final DataType outType; /** - * Whether the input `bytes` are in little-endian order. - * Ignored for `out_type` values that are stored in a single byte like - * `uint8`. + * Whether the input {@code bytes} are in little-endian order. + * Ignored for {@code out_type} values that are stored in a single byte like + * {@code uint8}. */ public final boolean littleEndian; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DeserializeManySparse.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DeserializeManySparse.java index d86def49dd2..1ff234ea6b6 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DeserializeManySparse.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/DeserializeManySparse.java @@ -166,7 +166,7 @@ public static class Inputs extends RawOpInputs> { public final Operand serializedSparse; /** - * The `dtype` of the serialized `SparseTensor` objects. + * The {@code dtype} of the serialized {@code SparseTensor} objects. */ public final DataType dtype; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseExample.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseExample.java index 6104c068643..624d698e828 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseExample.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseExample.java @@ -286,7 +286,7 @@ public static class Inputs extends RawOpInputs { public final DataType[] Tdense; /** - * A list of `num_sparse` types; the data types of data in each Feature + * A list of {@code num_sparse} types; the data types of data in each Feature * given in sparse_keys. * Currently the ParseExample supports DT_FLOAT (FloatList), * DT_INT64 (Int64List), and DT_STRING (BytesList). @@ -294,23 +294,23 @@ public static class Inputs extends RawOpInputs { public final DataType[] sparseTypes; /** - * A list of `num_ragged` types; the data types of data in each Feature - * given in ragged_keys (where `num_ragged = sparse_keys.size()`). + * A list of {@code num_ragged} types; the data types of data in each Feature + * given in ragged_keys (where {@code num_ragged = sparse_keys.size()}). * Currently the ParseExample supports DT_FLOAT (FloatList), * DT_INT64 (Int64List), and DT_STRING (BytesList). */ public final DataType[] raggedValueTypes; /** - * A list of `num_ragged` types; the data types of row_splits in each Feature - * given in ragged_keys (where `num_ragged = sparse_keys.size()`). + * A list of {@code num_ragged} types; the data types of row_splits in each Feature + * given in ragged_keys (where {@code num_ragged = sparse_keys.size()}). * May be DT_INT32 or DT_INT64. */ public final DataType[] raggedSplitTypes; /** - * A list of `num_dense` shapes; the shapes of data in each Feature - * given in dense_keys (where `num_dense = dense_keys.size()`). + * A list of {@code num_dense} shapes; the shapes of data in each Feature + * given in dense_keys (where {@code num_dense = dense_keys.size()}). * The number of elements in the Feature corresponding to dense_key[j] * must always equal dense_shapes[j].NumEntries(). * If dense_shapes[j] == (D0, D1, ..., DN) then the shape of output diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseSingleExample.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseSingleExample.java index cf9588ddf89..ace0959c7ad 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseSingleExample.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/ParseSingleExample.java @@ -205,7 +205,7 @@ public static class Inputs extends RawOpInputs { public final Iterable> denseDefaults; /** - * A list of `num_sparse` strings. + * A list of {@code num_sparse} strings. * The keys expected in the Examples' features associated with sparse values. */ public final String[] sparseKeys; @@ -217,7 +217,7 @@ public static class Inputs extends RawOpInputs { public final String[] denseKeys; /** - * A list of `num_sparse` types; the data types of data in each + * A list of {@code num_sparse} types; the data types of data in each * Feature given in sparse_keys. * Currently the ParseSingleExample op supports DT_FLOAT (FloatList), * DT_INT64 (Int64List), and DT_STRING (BytesList). @@ -226,7 +226,7 @@ public static class Inputs extends RawOpInputs { /** * The data types of data in each Feature given in dense_keys. - * The length of this list must match the length of `dense_keys`. + * The length of this list must match the length of {@code dense_keys}. * Currently the ParseSingleExample op supports DT_FLOAT (FloatList), * DT_INT64 (Int64List), and DT_STRING (BytesList). */ @@ -234,7 +234,7 @@ public static class Inputs extends RawOpInputs { /** * The shapes of data in each Feature given in dense_keys. - * The length of this list must match the length of `dense_keys`. The + * The length of this list must match the length of {@code dense_keys}. The * number of elements in the Feature corresponding to dense_key[j] must * always equal dense_shapes[j].NumEntries(). If dense_shapes[j] == * (D0, D1, ..., DN) then the shape of output Tensor dense_values[j] diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeManySparse.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeManySparse.java index 253662f2cec..b0e447608f3 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeManySparse.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeManySparse.java @@ -150,8 +150,8 @@ public static class Inputs extends RawOpInputs> { public final DataType T; /** - * The `dtype` to use for serialization; the supported types are `string` - * (default) and `variant`. + * The {@code dtype} to use for serialization; the supported types are {@code string} + * (default) and {@code variant}. */ public final DataType outType; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeSparse.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeSparse.java index 500b0e055d5..2f450dcf3bd 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeSparse.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/io/SerializeSparse.java @@ -144,8 +144,8 @@ public static class Inputs extends RawOpInputs> { public final DataType T; /** - * The `dtype` to use for serialization; the supported types are `string` - * (default) and `variant`. + * The {@code dtype} to use for serialization; the supported types are {@code string} + * (default) and {@code variant}. */ public final DataType outType; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Eig.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Eig.java index fb820e00ddf..783950dfde9 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Eig.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Eig.java @@ -162,7 +162,7 @@ public static class Inputs extends RawOpInputs> { public final Operand input; /** - * If `True` then eigenvectors will be computed and returned in `v`. + * If {@code True} then eigenvectors will be computed and returned in {@code v}. * Otherwise, only the eigenvalues will be computed. */ public final boolean computeV; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatMul.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatMul.java index a984a502a7a..a592a65396a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatMul.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatMul.java @@ -231,12 +231,12 @@ public static class Inputs extends RawOpInputs> { public final Operand b; /** - * If true, "a" is transposed before multiplication. + * If true, "a" is transposed before multiplication. */ public final boolean transposeA; /** - * If true, "b" is transposed before multiplication. + * If true, "b" is transposed before multiplication. */ public final boolean transposeB; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixDiagPartV3.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixDiagPartV3.java index 931a277ad1a..d4794ab7571 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixDiagPartV3.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixDiagPartV3.java @@ -270,12 +270,12 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> public final DataType T; /** - * Some diagonals are shorter than `max_diag_len` and need to be padded. `align` is + * Some diagonals are shorter than {@code max_diag_len} and need to be padded. {@code align} is * a string specifying how superdiagonals and subdiagonals should be aligned, - * respectively. There are four possible alignments: "RIGHT_LEFT" (default), - * "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals + * respectively. There are four possible alignments: "RIGHT_LEFT" (default), + * "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals * to the right (left-pads the row) and subdiagonals to the left (right-pads the - * row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is + * row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is * the opposite alignment. */ public final String align; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixSetDiag.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixSetDiag.java index 059ac9cbe72..0ae2c206569 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixSetDiag.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/MatrixSetDiag.java @@ -276,12 +276,12 @@ public static class Inputs extends RawOpInputs public final DataType T; /** - * Some diagonals are shorter than `max_diag_len` and need to be padded. `align` is + * Some diagonals are shorter than {@code max_diag_len} and need to be padded. {@code align} is * a string specifying how superdiagonals and subdiagonals should be aligned, - * respectively. There are four possible alignments: "RIGHT_LEFT" (default), - * "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals + * respectively. There are four possible alignments: "RIGHT_LEFT" (default), + * "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals * to the right (left-pads the row) and subdiagonals to the left (right-pads the - * row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is + * row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is * the opposite alignment. */ public final String align; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Qr.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Qr.java index da577b51660..9e73edaf6b8 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Qr.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Qr.java @@ -165,8 +165,8 @@ public static class Inputs extends RawOpInputs> { public final Operand input; /** - * If true, compute full-sized `q` and `r`. If false - * (the default), compute only the leading `P` columns of `q`. + * If true, compute full-sized {@code q} and {@code r}. If false + * (the default), compute only the leading {@code P} columns of {@code q}. */ public final boolean fullMatrices; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMul.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMul.java index 871e9bb5590..93ca4112092 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMul.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMul.java @@ -249,12 +249,12 @@ public static class Inputs extends RawOpInputs> { public final DataType Toutput; /** - * If true, `a` is transposed before multiplication. + * If true, {@code a} is transposed before multiplication. */ public final boolean transposeA; /** - * If true, `b` is transposed before multiplication. + * If true, {@code b} is transposed before multiplication. */ public final boolean transposeB; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBias.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBias.java index 9e9f8fa1653..4ff470d2594 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBias.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBias.java @@ -287,12 +287,12 @@ public static class Inputs extends RawOpInputs> { public final DataType Toutput; /** - * If true, `a` is transposed before multiplication. + * If true, {@code a} is transposed before multiplication. */ public final boolean transposeA; /** - * If true, `b` is transposed before multiplication. + * If true, {@code b} is transposed before multiplication. */ public final boolean transposeB; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndRelu.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndRelu.java index f8496d61bc8..ad1182c50de 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndRelu.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndRelu.java @@ -283,12 +283,12 @@ public static class Inputs extends RawOpInputs public final DataType Toutput; /** - * If true, `a` is transposed before multiplication. + * If true, {@code a} is transposed before multiplication. */ public final boolean transposeA; /** - * If true, `b` is transposed before multiplication. + * If true, {@code b} is transposed before multiplication. */ public final boolean transposeB; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndReluAndRequantize.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndReluAndRequantize.java index f2042376788..91eefc72f1b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndReluAndRequantize.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/QuantizedMatMulWithBiasAndReluAndRequantize.java @@ -304,12 +304,12 @@ public static class Inputs extends RawOpInputs extends RawOpInputs input; /** - * If `True` then eigenvectors will be computed and returned in `v`. + * If {@code True} then eigenvectors will be computed and returned in {@code v}. * Otherwise, only the eigenvalues will be computed. */ public final boolean computeV; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Solve.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Solve.java index b21d43f82a9..a0f41eda3f5 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Solve.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Solve.java @@ -155,7 +155,7 @@ public static class Inputs extends RawOpInputs> { public final Operand rhs; /** - * Boolean indicating whether to solve with `matrix` or its (block-wise) + * Boolean indicating whether to solve with {@code matrix} or its (block-wise) * adjoint. */ public final boolean adjoint; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Svd.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Svd.java index 7142f9fbe25..b17b01cf88e 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Svd.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/Svd.java @@ -209,15 +209,15 @@ public static class Inputs extends RawOpInputs> { /** * If true, left and right singular vectors will be - * computed and returned in `u` and `v`, respectively. - * If false, `u` and `v` are not set and should never referenced. + * computed and returned in {@code u} and {@code v}, respectively. + * If false, {@code u} and {@code v} are not set and should never referenced. */ public final boolean computeUv; /** - * If true, compute full-sized `u` and `v`. If false - * (the default), compute only the leading `P` singular vectors. - * Ignored if `compute_uv` is `False`. + * If true, compute full-sized {@code u} and {@code v}. If false + * (the default), compute only the leading {@code P} singular vectors. + * Ignored if {@code compute_uv} is {@code False}. */ public final boolean fullMatrices; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/TriangularSolve.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/TriangularSolve.java index cab9bc283a4..891f4e1f608 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/TriangularSolve.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/TriangularSolve.java @@ -225,18 +225,17 @@ public static class Inputs extends RawOpInputs rhs; /** - * Boolean indicating whether the innermost matrices in `matrix` are + * Boolean indicating whether the innermost matrices in {@code matrix} are * lower or upper triangular. */ public final boolean lower; /** - * Boolean indicating whether to solve with `matrix` or its (block-wise) - * adjoint. - * - * @compatibility(numpy) + * Boolean indicating whether to solve with {@code matrix} or its (block-wise) + * adjoint. + *

{@literal @}compatibility(numpy)
* Equivalent to scipy.linalg.solve_triangular - * @end_compatibility + *
{@literal @}end_compatibility */ public final boolean adjoint; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul.java index 5fafe452b17..2de2e93ec3b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixMatMul.java @@ -303,32 +303,32 @@ public static class Inputs extends RawOpInputs { public final DataType type; /** - * Indicates whether `a` should be transposed. + * Indicates whether {@code a} should be transposed. */ public final boolean transposeA; /** - * Indicates whether `b` should be transposed. + * Indicates whether {@code b} should be transposed. */ public final boolean transposeB; /** - * Indicates whether `a` should be conjugate-transposed. + * Indicates whether {@code a} should be conjugate-transposed. */ public final boolean adjointA; /** - * Indicates whether `b` should be conjugate-transposed. + * Indicates whether {@code b} should be conjugate-transposed. */ public final boolean adjointB; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose.java index dc1c3bb6833..783fb5c2ebc 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/linalg/sparse/SparseMatrixTranspose.java @@ -145,7 +145,7 @@ public static class Inputs extends RawOpInputs { public final Operand input; /** - * Indicates whether `input` should be conjugated. + * Indicates whether {@code input} should be conjugated. */ public final boolean conjugate; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/AccumulateN.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/AccumulateN.java index fd1eaeafc4a..61d1df63943 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/AccumulateN.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/AccumulateN.java @@ -116,7 +116,7 @@ public static class Inputs extends RawOpInputs> public final DataType T; /** - * Shape of elements of `inputs`. + * Shape of elements of {@code inputs}. */ public final Shape shape; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumprod.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumprod.java index b4946c796ed..3e901959c5d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumprod.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumprod.java @@ -200,12 +200,12 @@ public static class Inputs extends RawOpInputs> { public final Operand axis; /** - * If `True`, perform exclusive cumprod. + * If {@code True}, perform exclusive cumprod. */ public final boolean exclusive; /** - * A `bool` (default: False). + * A {@code bool} (default: False). */ public final boolean reverse; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumsum.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumsum.java index 2dea6d0fbde..12b3346db25 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumsum.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/Cumsum.java @@ -200,12 +200,12 @@ public static class Inputs extends RawOpInputs> { public final Operand axis; /** - * If `True`, perform exclusive cumsum. + * If {@code True}, perform exclusive cumsum. */ public final boolean exclusive; /** - * A `bool` (default: False). + * A {@code bool} (default: False). */ public final boolean reverse; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/CumulativeLogsumexp.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/CumulativeLogsumexp.java index ac645ccaaab..52595f56eea 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/CumulativeLogsumexp.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/CumulativeLogsumexp.java @@ -191,12 +191,12 @@ public static class Inputs extends RawOpInputs axis; /** - * If `True`, perform exclusive cumulative log-sum-exp. + * If {@code True}, perform exclusive cumulative log-sum-exp. */ public final boolean exclusive; /** - * A `bool` (default: False). + * A {@code bool} (default: False). */ public final boolean reverse; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/SobolSample.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/SobolSample.java index d6de1a9ada4..95f33401f0b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/SobolSample.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/SobolSample.java @@ -145,7 +145,7 @@ public static class Inputs extends RawOpInputs> { public final Operand skip; /** - * The type of the sample. One of: `float32` or `float64`. + * The type of the sample. One of: {@code float32} or {@code float64}. */ public final DataType dtype; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/UniformQuantizedAdd.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/UniformQuantizedAdd.java index a3f9a486aad..535d432dcca 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/UniformQuantizedAdd.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/math/UniformQuantizedAdd.java @@ -314,69 +314,69 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> { public final Operand value; /** - * The size of the sliding window for each dimension of `value`. + * The size of the sliding window for each dimension of {@code value}. */ public final long[] ksize; /** - * The stride of the sliding window for each dimension of `value`. + * The stride of the sliding window for each dimension of {@code value}. */ public final long[] strides; @@ -181,10 +181,10 @@ public static class Inputs extends RawOpInputs> { /** * Specify the data format of the input and output data. With the - * default format "NHWC", the data is stored in the order of: - * [batch, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, in_channels, in_height, in_width]. + * default format "NHWC", the data is stored in the order of: + * [batch, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, in_channels, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3d.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3d.java index 5fd233ad4d6..b7b61a50351 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3d.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3d.java @@ -168,13 +168,13 @@ public static class Inputs extends RawOpInputs> /** * 1-D tensor of length 5. The size of the window for each dimension of - * the input tensor. Must have `ksize[0] = ksize[4] = 1`. + * the input tensor. Must have {@code ksize[0] = ksize[4] = 1}. */ public final long[] ksize; /** * 1-D tensor of length 5. The stride of the sliding window for each - * dimension of `input`. Must have `strides[0] = strides[4] = 1`. + * dimension of {@code input}. Must have {@code strides[0] = strides[4] = 1}. */ public final long[] strides; @@ -185,10 +185,10 @@ public static class Inputs extends RawOpInputs> /** * The data format of the input and output data. With the - * default format "NDHWC", the data is stored in the order of: - * [batch, in_depth, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCDHW", the data storage order is: - * [batch, in_channels, in_depth, in_height, in_width]. + * default format "NDHWC", the data is stored in the order of: + * [batch, in_depth, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCDHW", the data storage order is: + * [batch, in_channels, in_depth, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3dGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3dGrad.java index 7c4e8005968..6acc17b69ae 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3dGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/AvgPool3dGrad.java @@ -175,13 +175,13 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs /** * Specify the data format of the input and output data. With the - * default format "NHWC", the data is stored in the order of: - * [batch, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, in_channels, in_height, in_width]. + * default format "NHWC", the data is stored in the order of: + * [batch, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, in_channels, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAdd.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAdd.java index d5c80bb1acd..c228699e9cb 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAdd.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAdd.java @@ -167,12 +167,12 @@ public static class Inputs extends RawOpInputs> { /** * Specify the data format of the input and output data. With the - * default format "NHWC", the bias tensor will be added to the last dimension + * default format "NHWC", the bias tensor will be added to the last dimension * of the value tensor. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, in_channels, in_height, in_width]. - * The tensor will be added to "in_channels", the third-to-the-last - * dimension. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, in_channels, in_height, in_width]. + * The tensor will be added to "in_channels", the third-to-the-last + * dimension. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAddGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAddGrad.java index dffab9d2958..01c90a2fd49 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAddGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/BiasAddGrad.java @@ -161,12 +161,12 @@ public static class Inputs extends RawOpInputs> /** * Specify the data format of the input and output data. With the - * default format "NHWC", the bias tensor will be added to the last dimension + * default format "NHWC", the bias tensor will be added to the last dimension * of the value tensor. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, in_channels, in_height, in_width]. - * The tensor will be added to "in_channels", the third-to-the-last - * dimension. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, in_channels, in_height, in_width]. + * The tensor will be added to "in_channels", the third-to-the-last + * dimension. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CTCLossV2.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CTCLossV2.java index f09ff645b5a..f64d2f7bc3d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CTCLossV2.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CTCLossV2.java @@ -244,7 +244,7 @@ public static class Inputs extends RawOpInputs { public final boolean preprocessCollapseRepeated; /** - * Scalar. If set to false, *during* CTC calculation + * Scalar. If set to false, during CTC calculation * repeated non-blank labels will not be merged and are interpreted as * individual labels. This is a simplified version of CTC. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv.java index d1af59aeb93..7e352a1ff76 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv.java @@ -373,8 +373,8 @@ public static class Inputs extends RawOpInputs> { public final DataType T; /** - * 1-D tensor of length `N+2`. The stride of the sliding window for each - * dimension of `input`. Must have `strides[0] = strides[N+1] = 1`. + * 1-D tensor of length {@code N+2}. The stride of the sliding window for each + * dimension of {@code input}. Must have {@code strides[0] = strides[N+1] = 1}. */ public final long[] strides; @@ -384,24 +384,24 @@ public static class Inputs extends RawOpInputs> { public final String padding; /** - * If `padding` is `"EXPLICIT"`, the list of explicit padding amounts. For the ith + * If {@code padding} is {@code "EXPLICIT"}, the list of explicit padding amounts. For the ith * dimension, the amount of padding inserted before and after the dimension is - * `explicit_paddings[2 * i]` and `explicit_paddings[2 * i + 1]`, respectively. If - * `padding` is not `"EXPLICIT"`, `explicit_paddings` must be empty. + * {@code explicit_paddings[2 * i]} and {@code explicit_paddings[2 * i + 1]}, respectively. If + * {@code padding} is not {@code "EXPLICIT"}, {@code explicit_paddings} must be empty. */ public final long[] explicitPaddings; /** - * Used to set the data format. By default `CHANNELS_FIRST`, uses - * `NHWC (2D) / NDHWC (3D)` or if `CHANNELS_LAST`, uses `NCHW (2D) / NCDHW (3D)`. + * Used to set the data format. By default {@code CHANNELS_FIRST}, uses + * {@code NHWC (2D) / NDHWC (3D)} or if {@code CHANNELS_LAST}, uses {@code NCHW (2D) / NCDHW (3D)}. */ public final String dataFormat; /** - * 1-D tensor of length `N+2`. The dilation factor for each dimension of - * `input`. If set to `k > 1`, there will be `k-1` skipped cells between each + * 1-D tensor of length {@code N+2}. The dilation factor for each dimension of + * {@code input}. If set to {@code k > 1}, there will be {@code k-1} skipped cells between each * filter element on that dimension. The dimension order is determined by the - * value of `channels_last_format`, see above for details. Dilations in the batch + * value of {@code channels_last_format}, see above for details. Dilations in the batch * and depth dimensions must be 1. */ public final long[] dilations; @@ -415,7 +415,7 @@ public static class Inputs extends RawOpInputs> { /** * A positive integer specifying the number of groups in which the input is split * along the channel axis. Each group is convolved separately with - * `filters / groups` filters. The output is the concatenation of all the groups + * {@code filters / groups} filters. The output is the concatenation of all the groups * results along the channel axis. Input channels and filters must both be * divisible by groups. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2d.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2d.java index b2199188473..9fef633fefd 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2d.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2d.java @@ -353,8 +353,8 @@ public static class Inputs extends RawOpInputs> { /** * 1-D tensor of length 4. The stride of the sliding window for each - * dimension of `input`. The dimension order is determined by the value of - * `data_format`, see below for details. + * dimension of {@code input}. The dimension order is determined by the value of + * {@code data_format}, see below for details. */ public final long[] strides; @@ -369,27 +369,27 @@ public static class Inputs extends RawOpInputs> { public final String padding; /** - * If `padding` is `"EXPLICIT"`, the list of explicit padding amounts. For the ith + * If {@code padding} is {@code "EXPLICIT"}, the list of explicit padding amounts. For the ith * dimension, the amount of padding inserted before and after the dimension is - * `explicit_paddings[2 * i]` and `explicit_paddings[2 * i + 1]`, respectively. If - * `padding` is not `"EXPLICIT"`, `explicit_paddings` must be empty. + * {@code explicit_paddings[2 * i]} and {@code explicit_paddings[2 * i + 1]}, respectively. If + * {@code padding} is not {@code "EXPLICIT"}, {@code explicit_paddings} must be empty. */ public final long[] explicitPaddings; /** * Specify the data format of the input and output data. With the - * default format "NHWC", the data is stored in the order of: - * [batch, height, width, channels]. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, channels, height, width]. + * default format "NHWC", the data is stored in the order of: + * [batch, height, width, channels]. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, channels, height, width]. */ public final String dataFormat; /** * 1-D tensor of length 4. The dilation factor for each dimension of - * `input`. If set to k > 1, there will be k-1 skipped cells between each + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each * filter element on that dimension. The dimension order is determined by the - * value of `data_format`, see above for details. Dilations in the batch and + * value of {@code data_format}, see above for details. Dilations in the batch and * depth dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilter.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilter.java index dbcaaf481cb..9d09ebaa1df 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilter.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilter.java @@ -361,27 +361,27 @@ public static class Inputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilterV2.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilterV2.java index a71091b235b..901d2a50f72 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilterV2.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropFilterV2.java @@ -354,27 +354,27 @@ public static class Inputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInput.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInput.java index ff17146e323..9e44c7170cb 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInput.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInput.java @@ -360,27 +360,27 @@ public static class Inputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInputV2.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInputV2.java index 44e9ef59aa0..1fa123e14b2 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInputV2.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv2dBackpropInputV2.java @@ -355,27 +355,27 @@ public static class Inputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3d.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3d.java index ebc6170eae0..5d3d0925894 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3d.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3d.java @@ -242,7 +242,7 @@ public static class Inputs extends RawOpInputs> { /** * 1-D tensor of length 5. The stride of the sliding window for each - * dimension of `input`. Must have `strides[0] = strides[4] = 1`. + * dimension of {@code input}. Must have {@code strides[0] = strides[4] = 1}. */ public final long[] strides; @@ -253,18 +253,18 @@ public static class Inputs extends RawOpInputs> { /** * The data format of the input and output data. With the - * default format "NDHWC", the data is stored in the order of: - * [batch, in_depth, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCDHW", the data storage order is: - * [batch, in_channels, in_depth, in_height, in_width]. + * default format "NDHWC", the data is stored in the order of: + * [batch, in_depth, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCDHW", the data storage order is: + * [batch, in_channels, in_depth, in_height, in_width]. */ public final String dataFormat; /** * 1-D tensor of length 5. The dilation factor for each dimension of - * `input`. If set to k > 1, there will be k-1 skipped cells between each + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each * filter element on that dimension. The dimension order is determined by the - * value of `data_format`, see above for details. Dilations in the batch and + * value of {@code data_format}, see above for details. Dilations in the batch and * depth dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropFilter.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropFilter.java index e7c35fbbe28..2cc01b0dfe0 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropFilter.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropFilter.java @@ -253,7 +253,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs 1, there will be k-1 skipped cells between each + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each * filter element on that dimension. The dimension order is determined by the - * value of `data_format`, see above for details. Dilations in the batch and + * value of {@code data_format}, see above for details. Dilations in the batch and * depth dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropInput.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropInput.java index 4306849324d..651f027ac42 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropInput.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Conv3dBackpropInput.java @@ -252,7 +252,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs 1, there will be k-1 skipped cells between each + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each * filter element on that dimension. The dimension order is determined by the - * value of `data_format`, see above for details. Dilations in the batch and + * value of {@code data_format}, see above for details. Dilations in the batch and * depth dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcBeamSearchDecoder.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcBeamSearchDecoder.java index 56ad8a6d8a3..59cde61eb54 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcBeamSearchDecoder.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcBeamSearchDecoder.java @@ -204,7 +204,7 @@ public static class Inputs extends RawOpInputs sequenceLength; /** - * A scalar >= 0 (beam search beam width). + * A scalar >= 0 (beam search beam width). */ public final long beamWidth; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcLoss.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcLoss.java index 3933b6dd5f8..d2dd09549fa 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcLoss.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/CtcLoss.java @@ -246,7 +246,7 @@ public static class Inputs extends RawOpInputs> { public final boolean preprocessCollapseRepeated; /** - * Scalar. If set to false, *during* CTC calculation + * Scalar. If set to false, during CTC calculation * repeated non-blank labels will not be merged and are interpreted as * individual labels. This is a simplified version of CTC. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNative.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNative.java index 57e6db5154f..e3f7f02ac33 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNative.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNative.java @@ -305,7 +305,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropFilter.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropFilter.java index d53cd3b03b4..6c55468131b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropFilter.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropFilter.java @@ -328,18 +328,18 @@ public static class Inputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropInput.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropInput.java index bea9149d3e4..0f1a70bb566 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropInput.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/DepthwiseConv2dNativeBackpropInput.java @@ -328,18 +328,18 @@ public static class Inputs extends RawOpInputs 1, there will be k-1 skipped cells between each filter + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each filter * element on that dimension. The dimension order is determined by the value of - * `data_format`, see above for details. Dilations in the batch and depth + * {@code data_format}, see above for details. Dilations in the batch and depth * dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2d.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2d.java index 5354aefa6bb..f213e685ab6 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2d.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2d.java @@ -152,13 +152,13 @@ public static class Inputs extends RawOpInputs> /** * The stride of the sliding window for each dimension of the input - * tensor. Must be: `[1, stride_height, stride_width, 1]`. + * tensor. Must be: {@code [1, stride_height, stride_width, 1]}. */ public final long[] strides; /** * The input stride for atrous morphological dilation. Must be: - * `[1, rate_height, rate_width, 1]`. + * {@code [1, rate_height, rate_width, 1]}. */ public final long[] rates; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2dBackpropFilter.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2dBackpropFilter.java index b88393b8e73..93381ee22cf 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2dBackpropFilter.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/Dilation2dBackpropFilter.java @@ -139,13 +139,13 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs value; /** - * Pooling ratio for each dimension of `value`, currently only - * supports row and col dimension and should be >= 1.0. For example, a valid + * Pooling ratio for each dimension of {@code value}, currently only + * supports row and col dimension and should be >= 1.0. For example, a valid * pooling ratio looks like [1.0, 1.44, 1.73, 1.0]. The first and last elements * must be 1.0 because we don't allow pooling on batch and channels * dimensions. 1.44 and 1.73 are pooling ratio on height and width dimensions @@ -315,8 +315,8 @@ public static class Inputs extends RawOpInputsBenjamin + * Graham, Fractional Max-Pooling for * difference between pseudorandom and random. */ public final boolean pseudoRandom; @@ -324,12 +324,9 @@ public static class Inputs extends RawOpInputs{@code index 0 1 2 3 4} + *

{@code value 20 5 16 3 7} + *

If the pooling sequence is [0, 2, 4], then 16, at index 2 will be used twice. * The result would be [41/3, 26/3] for fractional avg pooling. */ public final boolean overlapping; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalAvgPoolGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalAvgPoolGrad.java index 952b982148b..71b1e624c55 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalAvgPoolGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalAvgPoolGrad.java @@ -186,12 +186,9 @@ public static class Inputs extends RawOpInputs{@code index 0 1 2 3 4} + *

{@code value 20 5 16 3 7} + *

If the pooling sequence is [0, 2, 4], then 16, at index 2 will be used twice. * The result would be [41/3, 26/3] for fractional avg pooling. */ public final boolean overlapping; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPool.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPool.java index fdbe02fc4ed..d4c2cb5cf15 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPool.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPool.java @@ -326,8 +326,8 @@ public static class Inputs extends RawOpInputs value; /** - * Pooling ratio for each dimension of `value`, currently only - * supports row and col dimension and should be >= 1.0. For example, a valid + * Pooling ratio for each dimension of {@code value}, currently only + * supports row and col dimension and should be >= 1.0. For example, a valid * pooling ratio looks like [1.0, 1.44, 1.73, 1.0]. The first and last elements * must be 1.0 because we don't allow pooling on batch and channels * dimensions. 1.44 and 1.73 are pooling ratio on height and width dimensions @@ -337,8 +337,8 @@ public static class Inputs extends RawOpInputsBenjamin + * Graham, Fractional Max-Pooling for * difference between pseudorandom and random. */ public final boolean pseudoRandom; @@ -346,12 +346,9 @@ public static class Inputs extends RawOpInputs{@code index 0 1 2 3 4} + *

{@code value 20 5 16 3 7} + *

If the pooling sequence is [0, 2, 4], then 16, at index 2 will be used twice. * The result would be [20, 16] for fractional max pooling. */ public final boolean overlapping; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPoolGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPoolGrad.java index c77591034a8..432d6bbfdb7 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPoolGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FractionalMaxPoolGrad.java @@ -188,12 +188,9 @@ public static class Inputs extends RawOpInputs{@code index 0 1 2 3 4} + *

{@code value 20 5 16 3 7} + *

If the pooling sequence is [0, 2, 4], then 16, at index 2 will be used twice. * The result would be [20, 16] for fractional max pooling. */ public final boolean overlapping; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNorm.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNorm.java index 50a39f70b02..41e62263399 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNorm.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNorm.java @@ -338,7 +338,7 @@ public static class Inputs extends RawOpIn public final float exponentialAvgFactor; /** - * The data format for x and y. Either "NHWC" (default) or "NCHW". + * The data format for x and y. Either "NHWC" (default) or "NCHW". */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNormGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNormGrad.java index d6094f54d10..efc751554d2 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNormGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedBatchNormGrad.java @@ -316,7 +316,7 @@ public static class Inputs extends RawOpIn /** * The data format for y_backprop, x, x_backprop. - * Either "NHWC" (default) or "NCHW". + * Either "NHWC" (default) or "NCHW". */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedPadConv2d.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedPadConv2d.java index aad10b64fea..1a11cf9c722 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedPadConv2d.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/FusedPadConv2d.java @@ -155,7 +155,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs 0 to avoid dividing by 0). + * An offset (usually > 0 to avoid dividing by 0). */ public final float bias; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool.java index b3dd99bd3bf..427b3c92bb2 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool.java @@ -178,10 +178,10 @@ public static class Inputs extends RawOpInputs> { /** * Specify the data format of the input and output data. With the - * default format "NHWC", the data is stored in the order of: - * [batch, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, in_channels, in_height, in_width]. + * default format "NHWC", the data is stored in the order of: + * [batch, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, in_channels, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3d.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3d.java index 5aacb5f1c17..d9cace3d967 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3d.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3d.java @@ -166,13 +166,13 @@ public static class Inputs extends RawOpInputs> /** * 1-D tensor of length 5. The size of the window for each dimension of - * the input tensor. Must have `ksize[0] = ksize[4] = 1`. + * the input tensor. Must have {@code ksize[0] = ksize[4] = 1}. */ public final long[] ksize; /** * 1-D tensor of length 5. The stride of the sliding window for each - * dimension of `input`. Must have `strides[0] = strides[4] = 1`. + * dimension of {@code input}. Must have {@code strides[0] = strides[4] = 1}. */ public final long[] strides; @@ -183,10 +183,10 @@ public static class Inputs extends RawOpInputs> /** * The data format of the input and output data. With the - * default format "NDHWC", the data is stored in the order of: - * [batch, in_depth, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCDHW", the data storage order is: - * [batch, in_channels, in_depth, in_height, in_width]. + * default format "NDHWC", the data is stored in the order of: + * [batch, in_depth, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCDHW", the data storage order is: + * [batch, in_channels, in_depth, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGrad.java index ac313f4d45a..6ac95b8a978 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGrad.java @@ -182,13 +182,13 @@ public static class Inputs extends RawOpIn /** * 1-D tensor of length 5. The size of the window for each dimension of - * the input tensor. Must have `ksize[0] = ksize[4] = 1`. + * the input tensor. Must have {@code ksize[0] = ksize[4] = 1}. */ public final long[] ksize; /** * 1-D tensor of length 5. The stride of the sliding window for each - * dimension of `input`. Must have `strides[0] = strides[4] = 1`. + * dimension of {@code input}. Must have {@code strides[0] = strides[4] = 1}. */ public final long[] strides; @@ -199,10 +199,10 @@ public static class Inputs extends RawOpIn /** * The data format of the input and output data. With the - * default format "NDHWC", the data is stored in the order of: - * [batch, in_depth, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCDHW", the data storage order is: - * [batch, in_channels, in_depth, in_height, in_width]. + * default format "NDHWC", the data is stored in the order of: + * [batch, in_depth, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCDHW", the data storage order is: + * [batch, in_channels, in_depth, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGradGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGradGrad.java index 585f30e5aa9..5efa05dec89 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGradGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPool3dGradGrad.java @@ -181,13 +181,13 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs /** * Specify the data format of the input and output data. With the - * default format "NHWC", the data is stored in the order of: - * [batch, in_height, in_width, in_channels]. - * Alternatively, the format could be "NCHW", the data storage order of: - * [batch, in_channels, in_height, in_width]. + * default format "NHWC", the data is stored in the order of: + * [batch, in_height, in_width, in_channels]. + * Alternatively, the format could be "NCHW", the data storage order of: + * [batch, in_channels, in_height, in_width]. */ public final String dataFormat; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPoolGradGrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPoolGradGrad.java index 7189844a8d6..a33ba6642b8 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPoolGradGrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/MaxPoolGradGrad.java @@ -188,10 +188,10 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs> { /** * 1-D tensor of length 4. The dilation factor for each dimension of - * `input`. If set to k > 1, there will be k-1 skipped cells between each + * {@code input}. If set to k > 1, there will be k-1 skipped cells between each * filter element on that dimension. The dimension order is determined by the - * value of `data_format`, see above for details. Dilations in the batch and + * value of {@code data_format}, see above for details. Dilations in the batch and * depth dimensions must be 1. */ public final long[] dilations; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/QuantizedInstanceNorm.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/QuantizedInstanceNorm.java index af8f32f2353..54bd27c1705 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/QuantizedInstanceNorm.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/QuantizedInstanceNorm.java @@ -287,19 +287,19 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs> { public final Operand k; /** - * If true the resulting `k` elements will be sorted by the values in + * If true the resulting {@code k} elements will be sorted by the values in * descending order. */ public final boolean sorted; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolution.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolution.java index bcc2dec4789..9b4715c3a21 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolution.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolution.java @@ -677,132 +677,131 @@ public static class Inputs extends RawOpInputs outputZeroPoints; /** - * The type of `lhs` and `rhs` input `Tensor`. + * The type of {@code lhs} and {@code rhs} input {@code Tensor}. */ public final DataType Tin; /** - * The type of `output` `Tensor`. + * The type of {@code output} {@code Tensor}. */ public final DataType Tout; /** - * The stride of the sliding window for each spatial dimension of `lhs`. + * The stride of the sliding window for each spatial dimension of {@code lhs}. * Must be an empty list (default) or a list of size (number of spatial dimensions). * If an empty list is provided, the stride for each spatial dimension is set to 1. */ public final long[] windowStrides; /** - * string from: `"SAME"`, `"VALID"`, or `"EXPLICIT"`, indicating the type of padding algorithm to use. + * string from: {@code "SAME"}, {@code "VALID"}, or {@code "EXPLICIT"}, indicating the type of padding algorithm to use. */ public final String padding; /** - * If `padding` is `"EXPLICIT"`, must be set as a list indicating - * the explicit paddings at the start and end of each `lhs` spatial dimension. + * If {@code padding} is {@code "EXPLICIT"}, must be set as a list indicating + * the explicit paddings at the start and end of each {@code lhs} spatial dimension. * Otherwise, this must be empty. - * - * (If used,) Must be a list of size `2 * (number of lhs spatial dimensions)`, - * where `(explicit_padding[2 * i], explicit_padding[2 * i + 1])` indicates - * `(start_padding, end_padding)` of `spatial_dimensions[i]`. + *

(If used,) Must be a list of size {@code 2 * (number of lhs spatial dimensions)}, + * where {@code (explicit_padding[2 * i], explicit_padding[2 * i + 1])} indicates + * {@code (start_padding, end_padding)} of {@code spatial_dimensions[i]}. */ public final long[] explicitPadding; /** - * The dilation factor to apply in each spatial dimension of `lhs`. - * Must be an empty list (default) or a list of size (number of `lhs` spatial dimensions). - * If empty list, the dilation for each `lhs` spatial dimension is set to 1. + * The dilation factor to apply in each spatial dimension of {@code lhs}. + * Must be an empty list (default) or a list of size (number of {@code lhs} spatial dimensions). + * If empty list, the dilation for each {@code lhs} spatial dimension is set to 1. */ public final long[] lhsDilation; /** - * The dilation factor to apply in each spatial dimension of `rhs`. - * Must be an empty list (default) or a list of size (number of `rhs` spatial dimensions). - * If empty list, the dilation for each `rhs` spatial dimension is set to 1. + * The dilation factor to apply in each spatial dimension of {@code rhs}. + * Must be an empty list (default) or a list of size (number of {@code rhs} spatial dimensions). + * If empty list, the dilation for each {@code rhs} spatial dimension is set to 1. */ public final long[] rhsDilation; /** * The number of batch groups. Used for grouped filters. - * Must be a divisor of `output_feature`. + * Must be a divisor of {@code output_feature}. */ public final long batchGroupCount; /** * The number of feature groups. Used for grouped convolutions. - * Must be a divisor of both `lhs_feature` and `output_feature`. + * Must be a divisor of both {@code lhs_feature} and {@code output_feature}. */ public final long featureGroupCount; /** * Structure of dimension information for the convolution op. - * Must be an empty string (default) or a serialized string of `tensorflow.UniformQuantizedConvolutionDimensionNumbersAttr` proto. - * If empty string, the default is `("NCHW", "OIHW", "NCHW")` (for a 2D convolution). + * Must be an empty string (default) or a serialized string of {@code tensorflow.UniformQuantizedConvolutionDimensionNumbersAttr} proto. + * If empty string, the default is {@code ("NCHW", "OIHW", "NCHW")} (for a 2D convolution). */ public final String dimensionNumbers; /** * Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. * If set to -1 (default), this indicates per-tensor quantization. - * For the `lhs`, only per-tensor quantization is supported. + * For the {@code lhs}, only per-tensor quantization is supported. * Thus, this must be set to -1. * Other values will raise error at OpKernel construction. */ public final long lhsQuantizationAxis; /** - * The min value of the quantized data stored in `lhs`. - * For example, if `Tin` is `qint8`, this must be set to -127 if narrow range quantized or -128 if not. + * The min value of the quantized data stored in {@code lhs}. + * For example, if {@code Tin} is {@code qint8}, this must be set to -127 if narrow range quantized or -128 if not. */ public final long lhsQuantizationMinVal; /** - * The max value of the quantized data stored in `lhs`. - * For example, if `Tin` is `qint8`, this must be set to 127. + * The max value of the quantized data stored in {@code lhs}. + * For example, if {@code Tin} is {@code qint8}, this must be set to 127. */ public final long lhsQuantizationMaxVal; /** * Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. * If set to -1 (default), this indicates per-tensor quantization. - * For the `rhs`, only per-tensor quantization - * or per-channel quantization along `kernel_output_feature_dimension` is supported. - * Thus, this must be set to -1 or `dimension_numbers.kernel_output_feature_dimension`. + * For the {@code rhs}, only per-tensor quantization + * or per-channel quantization along {@code kernel_output_feature_dimension} is supported. + * Thus, this must be set to -1 or {@code dimension_numbers.kernel_output_feature_dimension}. * Other values will raise error at OpKernel construction. */ public final long rhsQuantizationAxis; /** - * The min value of the quantized data stored in `rhs`. - * For example, if `Tin` is `qint8`, this must be set to -127 if narrow range quantized or -128 if not. + * The min value of the quantized data stored in {@code rhs}. + * For example, if {@code Tin} is {@code qint8}, this must be set to -127 if narrow range quantized or -128 if not. */ public final long rhsQuantizationMinVal; /** - * The max value of the quantized data stored in `rhs`. - * For example, if `Tin` is `qint8`, this must be set to 127. + * The max value of the quantized data stored in {@code rhs}. + * For example, if {@code Tin} is {@code qint8}, this must be set to 127. */ public final long rhsQuantizationMaxVal; /** * Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. * If set to -1 (default), this indicates per-tensor quantization. - * For the `output`, only per-tensor quantization or per-channel quantization along `output_feature_dimension` is supported. - * Thus, this must be set to -1 or `dimension_numbers.output_feature_dimension`. + * For the {@code output}, only per-tensor quantization or per-channel quantization along {@code output_feature_dimension} is supported. + * Thus, this must be set to -1 or {@code dimension_numbers.output_feature_dimension}. * Other values will raise error at OpKernel construction. */ public final long outputQuantizationAxis; /** - * The min value of the quantized data stored in `output`. - * For example, if `Tout` is `qint8`, this must be set to -127 if narrow range quantized or -128 if not. + * The min value of the quantized data stored in {@code output}. + * For example, if {@code Tout} is {@code qint8}, this must be set to -127 if narrow range quantized or -128 if not. */ public final long outputQuantizationMinVal; /** - * The max value of the quantized data stored in `output`. - * For example, if `Tout` is `qint8`, this must be set to 127. + * The max value of the quantized data stored in {@code output}. + * For example, if {@code Tout} is {@code qint8}, this must be set to 127. */ public final long outputQuantizationMaxVal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolutionHybrid.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolutionHybrid.java index 80d0d92a223..02b51c0dfe4 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolutionHybrid.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/nn/UniformQuantizedConvolutionHybrid.java @@ -544,12 +544,12 @@ public static class Inputs extends RawOpInputs rhsZeroPoints; /** - * The type of `lhs` input Tensor. + * The type of {@code lhs} input Tensor. */ public final DataType Tlhs; /** - * The type of `rhs` (quantized) input Tensor. + * The type of {@code rhs} (quantized) input Tensor. */ public final DataType Trhs; @@ -559,37 +559,36 @@ public static class Inputs extends RawOpInputs(If used,) Must be a list of size 2 * (number of lhs spatial dimensions), * where (explicit_padding[2 * i], explicit_padding[2 * i + 1]) indicates * spatial_dimensions[i] (start_padding, end_padding). */ public final long[] explicitPadding; /** - * The dilation factor to apply in each spatial dimension of `lhs`. + * The dilation factor to apply in each spatial dimension of {@code lhs}. * Must be an empty list (default) or a list of size (number of lhs spatial dimensions). * If empty list, the dilation for each lhs spatial dimension is set to 1. */ public final long[] lhsDilation; /** - * The dilation factor to apply in each spatial dimension of `rhs`. + * The dilation factor to apply in each spatial dimension of {@code rhs}. * Must be an empty list (default) or a list of size (number of rhs spatial dimensions). * If empty list, the dilation for each rhs spatial dimension is set to 1. */ @@ -610,29 +609,29 @@ public static class Inputs extends RawOpInputs extends RawOpInputs`signed_output`) + * have been called {@code signed_output}</b>) */ public final boolean signedInput; @@ -327,7 +327,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs + *

  • HALF_TO_EVEN: this is the default round_mode.
  • + *
  • HALF_UP: round towards positive. In this mode 7.5 rounds up to 8 and -7.5 + * rounds up to -7.
  • + * */ public final String roundMode; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformDequantize.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformDequantize.java index d9d5594ae49..97dad1321da 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformDequantize.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformDequantize.java @@ -196,7 +196,7 @@ public static class Inputs extends RawOpInputs> { /** * The quantization min value that was used when input was quantized. * The purpose of this attribute is typically (but not limited to) to indicate narrow range, where this is set to: - * `(Tin lowest) + 1` if narrow range, and `(Tin lowest)` otherwise. + * {@code (Tin lowest) + 1} if narrow range, and {@code (Tin lowest)} otherwise. * For example, if Tin is qint8, this is set to -127 if narrow range quantized or -128 if not. */ public final long quantizationMinVal; @@ -204,7 +204,7 @@ public static class Inputs extends RawOpInputs> { /** * The quantization max value that was used when input was quantized. * The purpose of this attribute is typically (but not limited to) indicate narrow range, where this is set to: - * `(Tout max)` for both narrow range and not narrow range. + * {@code (Tout max)} for both narrow range and not narrow range. * For example, if Tin is qint8, this is set to 127. */ public final long quantizationMaxVal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformQuantize.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformQuantize.java index fd5f44970be..43fed90b7cc 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformQuantize.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformQuantize.java @@ -194,17 +194,17 @@ public static class Inputs extends RawOpInputs> { public final long quantizationAxis; /** - * The quantization min value to quantize `input`. + * The quantization min value to quantize {@code input}. * The purpose of this attribute is typically (but not limited to) to indicate narrow range, where this is set to: - * `(Tin lowest) + 1` if narrow range, and `(Tin lowest)` otherwise. + * {@code (Tin lowest) + 1} if narrow range, and {@code (Tin lowest)} otherwise. * For example, if Tin is qint8, this is set to -127 if narrow range quantized or -128 if not. */ public final long quantizationMinVal; /** - * The quantization max value to quantize `input`. + * The quantization max value to quantize {@code input}. * The purpose of this attribute is typically (but not limited to) indicate narrow range, where this is set to: - * `(Tout max)` for both narrow range and not narrow range. + * {@code (Tout max)} for both narrow range and not narrow range. * For example, if Tin is qint8, this is set to 127. */ public final long quantizationMaxVal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformRequantize.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformRequantize.java index c1ef14c7ae7..85f81e8f202 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformRequantize.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/quantization/UniformRequantize.java @@ -253,40 +253,40 @@ public static class Inputs extends RawOpInputs> { public final DataType Tout; /** - * The quantization axis that was used when quantizing original data that `input` represents. + * The quantization axis that was used when quantizing original data that {@code input} represents. * Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. * If set to -1 (default), this indicates per-tensor quantization. Otherwise, it must be set within range [0, input.dims()). */ public final long inputQuantizationAxis; /** - * The quantization min value that was used when quantizing original data that `input` represents. + * The quantization min value that was used when quantizing original data that {@code input} represents. * The purpose of this attribute is typically (but not limited to) to indicate narrow range, where this is set to: - * `(Tin lowest) + 1` if narrow range, and `(Tin lowest)` otherwise. + * {@code (Tin lowest) + 1} if narrow range, and {@code (Tin lowest)} otherwise. * For example, if Tin is qint8, this is set to -127 if narrow range quantized or -128 if not. */ public final long inputQuantizationMinVal; /** - * The quantization max value that was used when quantizing original data that `input` represents. + * The quantization max value that was used when quantizing original data that {@code input} represents. * The purpose of this attribute is typically (but not limited to) indicate narrow range, where this is set to: - * `(Tout max)` for both narrow range and not narrow range. + * {@code (Tout max)} for both narrow range and not narrow range. * For example, if Tin is qint8, this is set to 127. */ public final long inputQuantizationMaxVal; /** - * The new quantization axis to use to quantize original data that `input` represents. + * The new quantization axis to use to quantize original data that {@code input} represents. */ public final long outputQuantizationAxis; /** - * The new quantization min value to quantize original data that `input` represents. + * The new quantization min value to quantize original data that {@code input} represents. */ public final long outputQuantizationMinVal; /** - * The new quantization max value to quantize original data that `input` represents. + * The new quantization max value to quantize original data that {@code input} represents. */ public final long outputQuantizationMaxVal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedCross.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedCross.java index 816bdc2b4d2..1d5cc361a5f 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedCross.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedCross.java @@ -169,8 +169,8 @@ public static class Inputs extends RawOpInputs> { public final Iterable> denseInputs; /** - * String specifying the tensor type for each input. The `i`th character in - * this string specifies the type of the `i`th input, and is one of: 'R' (ragged), + * String specifying the tensor type for each input. The {@code i}th character in + * this string specifies the type of the {@code i}th input, and is one of: 'R' (ragged), * 'D' (dense), or 'S' (sparse). This attr is used to ensure that the crossed * values are combined in the order of the inputs from the call to tf.ragged.cross. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorFromVariant.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorFromVariant.java index 677c642582f..9223acdcd39 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorFromVariant.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorFromVariant.java @@ -163,8 +163,8 @@ public static class Inputs extends RawOpInputs> { public final Operand encodedRagged; /** - * The ragged rank of each encoded `RaggedTensor` component in the input. If set to - * -1, this is inferred as `output_ragged_rank` - `rank(encoded_ragged)` + * The ragged rank of each encoded {@code RaggedTensor} component in the input. If set to + * -1, this is inferred as {@code output_ragged_rank} - {@code rank(encoded_ragged)} */ public final long inputRaggedRank; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToTensor.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToTensor.java index 7a3f212b56b..127c85e9f72 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToTensor.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToTensor.java @@ -209,11 +209,13 @@ public static class Inputs extends RawOpInputs + *
  • "ROW_SPLITS": the row_splits tensor from the ragged tensor.
  • + *
  • "VALUE_ROWIDS": the value_rowids tensor from the ragged tensor.
  • + *
  • "FIRST_DIM_SIZE": if value_rowids is used for the first dimension, then it + * is preceeded by "FIRST_DIM_SIZE". + * The tensors are in the order of the dimensions.
  • + * */ public final String[] rowPartitionTypes; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToVariant.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToVariant.java index ab616b0379d..48918309097 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToVariant.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/ragged/RaggedTensorToVariant.java @@ -134,7 +134,7 @@ public static class Inputs extends RawOpInputs { public final DataType Tsplits; /** - * A `bool` denoting whether the input is a batched `RaggedTensor`. + * A {@code bool} denoting whether the input is a batched {@code RaggedTensor}. */ public final boolean batchedInput; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/ParameterizedTruncatedNormal.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/ParameterizedTruncatedNormal.java index 262cb79226d..e2a12f2a3c9 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/ParameterizedTruncatedNormal.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/ParameterizedTruncatedNormal.java @@ -204,7 +204,7 @@ public static class Inputs extends RawOpInputs maxvals; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomGamma.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomGamma.java index 6b47bf1cb15..5558b534e66 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomGamma.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomGamma.java @@ -186,7 +186,7 @@ public static class Inputs extends RawOpInputs public final Operand alpha; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomPoisson.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomPoisson.java index 963377774cd..d26081bd288 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomPoisson.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomPoisson.java @@ -215,7 +215,7 @@ public static class Inputs extends RawOpInputs> { public final Operand rate; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomShuffle.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomShuffle.java index 6e5259d7cd3..8c52e218fc8 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomShuffle.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomShuffle.java @@ -179,7 +179,7 @@ public static class Inputs extends RawOpInputs public final Operand value; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomStandardNormal.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomStandardNormal.java index 70a133cd5a4..3addc74b9bb 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomStandardNormal.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomStandardNormal.java @@ -174,7 +174,7 @@ public static class Inputs extends RawOpInputs> { public final Operand shape; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniform.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniform.java index 9306d1d7fcf..74487b121aa 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniform.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniform.java @@ -175,7 +175,7 @@ public static class Inputs extends RawOpInputs> { public final Operand shape; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniformInt.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniformInt.java index dc227152afe..243fd44c671 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniformInt.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/RandomUniformInt.java @@ -190,7 +190,7 @@ public static class Inputs extends RawOpInputs maxval; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/TruncatedNormal.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/TruncatedNormal.java index 6b986b4e08e..ee3e12c25e3 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/TruncatedNormal.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/random/TruncatedNormal.java @@ -177,7 +177,7 @@ public static class Inputs extends RawOpInputs> { public final Operand shape; /** - * If either `seed` or `seed2` are set to be non-zero, the random number + * If either {@code seed} or {@code seed2} are set to be non-zero, the random number * generator is seeded by the given seed. Otherwise, it is seeded by a * random seed. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddManySparseToTensorsMap.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddManySparseToTensorsMap.java index d0ad3bed95e..59d8449fa2e 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddManySparseToTensorsMap.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddManySparseToTensorsMap.java @@ -208,12 +208,12 @@ public static class Inputs extends RawOpInputs { public final DataType T; /** - * The container name for the `SparseTensorsMap` created by this op. + * The container name for the {@code SparseTensorsMap} created by this op. */ public final String container; /** - * The shared name for the `SparseTensorsMap` created by this op. + * The shared name for the {@code SparseTensorsMap} created by this op. * If blank, the new Operation's unique name is used. */ public final String sharedName; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddSparseToTensorsMap.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddSparseToTensorsMap.java index c15afe711c9..ddfba840a21 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddSparseToTensorsMap.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/AddSparseToTensorsMap.java @@ -198,12 +198,12 @@ public static class Inputs extends RawOpInputs { public final DataType T; /** - * The container name for the `SparseTensorsMap` created by this op. + * The container name for the {@code SparseTensorsMap} created by this op. */ public final String container; /** - * The shared name for the `SparseTensorsMap` created by this op. + * The shared name for the {@code SparseTensorsMap} created by this op. * If blank, the new Operation's unique name is used. */ public final String sharedName; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/DeserializeSparse.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/DeserializeSparse.java index 851b3eb9856..697249eca81 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/DeserializeSparse.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/DeserializeSparse.java @@ -165,7 +165,7 @@ public static class Inputs extends RawOpInputs> { public final Operand serializedSparse; /** - * The `dtype` of the serialized `SparseTensor` objects. + * The {@code dtype} of the serialized {@code SparseTensor} objects. */ public final DataType dtype; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/SparseConcat.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/SparseConcat.java index 2213a990292..6d53b3a723b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/SparseConcat.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/SparseConcat.java @@ -178,7 +178,7 @@ public static class Inputs extends RawOpInputs> /** * Dimension to concatenate along. Must be in range [-rank, rank), - * where rank is the number of dimensions in each input `SparseTensor`. + * where rank is the number of dimensions in each input {@code SparseTensor}. */ public final long concatDim; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/TakeManySparseFromTensorsMap.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/TakeManySparseFromTensorsMap.java index 7db6538b380..e72ec904466 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/TakeManySparseFromTensorsMap.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/sparse/TakeManySparseFromTensorsMap.java @@ -236,20 +236,20 @@ public static class Inputs extends RawOpInputs> public final Operand sparseHandles; /** - * The `dtype` of the `SparseTensor` objects stored in the - * `SparseTensorsMap`. + * The {@code dtype} of the {@code SparseTensor} objects stored in the + * {@code SparseTensorsMap}. */ public final DataType dtype; /** - * The container name for the `SparseTensorsMap` read by this op. + * The container name for the {@code SparseTensorsMap} read by this op. */ public final String container; /** - * The shared name for the `SparseTensorsMap` read by this op. - * It should not be blank; rather the `shared_name` or unique Operation name - * of the Op that created the original `SparseTensorsMap` should be used. + * The shared name for the {@code SparseTensorsMap} read by this op. + * It should not be blank; rather the {@code shared_name} or unique Operation name + * of the Op that created the original {@code SparseTensorsMap} should be used. */ public final String sharedName; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Lower.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Lower.java index f2571768b5c..62c18ce5098 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Lower.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Lower.java @@ -146,7 +146,7 @@ public static class Inputs extends RawOpInputs { public final Operand input; /** - * Character encoding of `input`. Allowed values are '' and 'utf-8'. + * Character encoding of {@code input}. Allowed values are '' and 'utf-8'. * Value '' is interpreted as ASCII. */ public final String encoding; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ReduceJoin.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ReduceJoin.java index c3315f28064..5bbc3e772ef 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ReduceJoin.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ReduceJoin.java @@ -196,7 +196,7 @@ public static class Inputs extends RawOpInputs { public final Operand reductionIndices; /** - * If `True`, retain reduced dimensions with length `1`. + * If {@code True}, retain reduced dimensions with length {@code 1}. */ public final boolean keepDims; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/RegexReplace.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/RegexReplace.java index af9bad8df72..bec4a4a7219 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/RegexReplace.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/RegexReplace.java @@ -158,9 +158,9 @@ public static class Inputs extends RawOpInputs { public final Operand rewrite; /** - * If True, the replacement is global (that is, all matches of the `pattern` regular - * expression in each input string are rewritten), otherwise the `rewrite` - * substitution is only made for the first `pattern` match. + * If True, the replacement is global (that is, all matches of the {@code pattern} regular + * expression in each input string are rewritten), otherwise the {@code rewrite} + * substitution is only made for the first {@code pattern} match. */ public final boolean replaceGlobal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringLength.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringLength.java index 1e720453925..0a1ee1dff0d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringLength.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringLength.java @@ -157,10 +157,10 @@ public static class Inputs extends RawOpInputs { public final Operand input; /** - * The unit that is counted to compute string length. One of: `"BYTE"` (for - * the number of bytes in each string) or `"UTF8_CHAR"` (for the number of UTF-8 + * The unit that is counted to compute string length. One of: {@code "BYTE"} (for + * the number of bytes in each string) or {@code "UTF8_CHAR"} (for the number of UTF-8 * encoded Unicode code points in each string). Results are undefined - * if `unit=UTF8_CHAR` and the `input` strings do not contain structurally + * if {@code unit=UTF8_CHAR} and the {@code input} strings do not contain structurally * valid UTF-8. */ public final String unit; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringNGrams.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringNGrams.java index ac5c914bdb1..6f5739989d0 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringNGrams.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/StringNGrams.java @@ -144,7 +144,7 @@ public static class Inputs extends RawOpInputs dataSplits; /** - * The string to append between elements of the token. Use "" for no separator. + * The string to append between elements of the token. Use "" for no separator. */ public final String separator; @@ -168,7 +168,7 @@ public static class Inputs extends RawOpInputs { public final Operand sep; /** - * An `int`. If `maxsplit > 0`, limit of the split of the result. + * An {@code int}. If {@code maxsplit > 0}, limit of the split of the result. */ public final long maxsplit; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Substr.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Substr.java index 536a8b7f9c2..868f2bc239b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Substr.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Substr.java @@ -233,10 +233,10 @@ public static class Inputs extends RawOpInputs { public final DataType T; /** - * The unit that is used to create the substring. One of: `"BYTE"` (for - * defining position and length by bytes) or `"UTF8_CHAR"` (for the UTF-8 - * encoded Unicode code points). The default is `"BYTE"`. Results are undefined if - * `unit=UTF8_CHAR` and the `input` strings do not contain structurally valid + * The unit that is used to create the substring. One of: {@code "BYTE"} (for + * defining position and length by bytes) or {@code "UTF8_CHAR"} (for the UTF-8 + * encoded Unicode code points). The default is {@code "BYTE"}. Results are undefined if + * {@code unit=UTF8_CHAR} and the {@code input} strings do not contain structurally valid * UTF-8. */ public final String unit; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ToNumber.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ToNumber.java index c1032a598a7..e4564334bf1 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ToNumber.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/ToNumber.java @@ -132,7 +132,7 @@ public static class Inputs extends RawOpInputs> { public final Operand stringTensor; /** - * The numeric type to interpret each string in `string_tensor` as. + * The numeric type to interpret each string in {@code string_tensor} as. */ public final DataType outType; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecode.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecode.java index f3808a6b3d2..bffb35e17e0 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecode.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecode.java @@ -263,7 +263,7 @@ public static class Inputs extends RawOpInputs> { /** * Text encoding of the input strings. This is any of the encodings supported - * by ICU ucnv algorithmic converters. Examples: `"UTF-16", "US ASCII", "UTF-8"`. + * by ICU ucnv algorithmic converters. Examples: {@code "UTF-16", "US ASCII", "UTF-8"}. */ public final String inputEncoding; @@ -272,7 +272,7 @@ public static class Inputs extends RawOpInputs> { * The value of 'strict' will cause the operation to produce a InvalidArgument * error on any invalid input formatting. A value of 'replace' (the default) will * cause the operation to replace any invalid formatting in the input with the - * `replacement_char` codepoint. A value of 'ignore' will cause the operation to + * {@code replacement_char} codepoint. A value of 'ignore' will cause the operation to * skip any invalid formatting in the input and produce no corresponding output * character. */ @@ -280,7 +280,7 @@ public static class Inputs extends RawOpInputs> { /** * The replacement character codepoint to be used in place of any invalid - * formatting in the input when `errors='replace'`. Any valid unicode codepoint may + * formatting in the input when {@code errors='replace'}. Any valid unicode codepoint may * be used. The default value is the default unicode replacement character is * 0xFFFD or U+65533.) */ @@ -288,7 +288,7 @@ public static class Inputs extends RawOpInputs> { /** * Whether to replace the C0 control characters (00-1F) with the - * `replacement_char`. Default is false. + * {@code replacement_char}. Default is false. */ public final boolean replaceControlCharacters; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecodeWithOffsets.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecodeWithOffsets.java index 9694f3cef53..690789b6843 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecodeWithOffsets.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeDecodeWithOffsets.java @@ -280,7 +280,7 @@ public static class Inputs extends RawOpInputs> { /** * Text encoding of the input strings. This is any of the encodings supported - * by ICU ucnv algorithmic converters. Examples: `"UTF-16", "US ASCII", "UTF-8"`. + * by ICU ucnv algorithmic converters. Examples: {@code "UTF-16", "US ASCII", "UTF-8"}. */ public final String inputEncoding; @@ -289,7 +289,7 @@ public static class Inputs extends RawOpInputs> { * The value of 'strict' will cause the operation to produce a InvalidArgument * error on any invalid input formatting. A value of 'replace' (the default) will * cause the operation to replace any invalid formatting in the input with the - * `replacement_char` codepoint. A value of 'ignore' will cause the operation to + * {@code replacement_char} codepoint. A value of 'ignore' will cause the operation to * skip any invalid formatting in the input and produce no corresponding output * character. */ @@ -297,7 +297,7 @@ public static class Inputs extends RawOpInputs> { /** * The replacement character codepoint to be used in place of any invalid - * formatting in the input when `errors='replace'`. Any valid unicode codepoint may + * formatting in the input when {@code errors='replace'}. Any valid unicode codepoint may * be used. The default value is the default unicode replacement character is * 0xFFFD or U+65533.) */ @@ -305,7 +305,7 @@ public static class Inputs extends RawOpInputs> { /** * Whether to replace the C0 control characters (00-1F) with the - * `replacement_char`. Default is false. + * {@code replacement_char}. Default is false. */ public final boolean replaceControlCharacters; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeEncode.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeEncode.java index d3dbb9589df..074ff7af61b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeEncode.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeEncode.java @@ -212,21 +212,20 @@ public static class Inputs extends RawOpInputs { * The value of 'strict' will cause the operation to produce a InvalidArgument * error on any invalid input formatting. A value of 'replace' (the default) will * cause the operation to replace any invalid formatting in the input with the - * `replacement_char` codepoint. A value of 'ignore' will cause the operation to + * {@code replacement_char} codepoint. A value of 'ignore' will cause the operation to * skip any invalid formatting in the input and produce no corresponding output * character. */ public final String errors; /** - * Unicode encoding of the output strings. Valid encodings are: `"UTF-8", - * "UTF-16-BE", and "UTF-32-BE"`. + * Unicode encoding of the output strings. Valid encodings are: {@code "UTF-8", "UTF-16-BE", and "UTF-32-BE"}. */ public final String outputEncoding; /** * The replacement character codepoint to be used in place of any invalid - * formatting in the input when `errors='replace'`. Any valid unicode codepoint may + * formatting in the input when {@code errors='replace'}. Any valid unicode codepoint may * be used. The default value is the default unicode replacement character is * 0xFFFD (U+65533). */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeTranscode.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeTranscode.java index 7dee74bb545..56bfc2e406e 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeTranscode.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/UnicodeTranscode.java @@ -258,13 +258,13 @@ public static class Inputs extends RawOpInputs { /** * Text encoding of the input strings. This is any of the encodings supported - * by ICU ucnv algorithmic converters. Examples: `"UTF-16", "US ASCII", "UTF-8"`. + * by ICU ucnv algorithmic converters. Examples: {@code "UTF-16", "US ASCII", "UTF-8"}. */ public final String inputEncoding; /** * The unicode encoding to use in the output. Must be one of - * `"UTF-8", "UTF-16-BE", "UTF-32-BE"`. Multi-byte encodings will be big-endian. + * {@code "UTF-8", "UTF-16-BE", "UTF-32-BE"}. Multi-byte encodings will be big-endian. */ public final String outputEncoding; @@ -273,7 +273,7 @@ public static class Inputs extends RawOpInputs { * The value of 'strict' will cause the operation to produce a InvalidArgument * error on any invalid input formatting. A value of 'replace' (the default) will * cause the operation to replace any invalid formatting in the input with the - * `replacement_char` codepoint. A value of 'ignore' will cause the operation to + * {@code replacement_char} codepoint. A value of 'ignore' will cause the operation to * skip any invalid formatting in the input and produce no corresponding output * character. */ @@ -281,11 +281,10 @@ public static class Inputs extends RawOpInputs { /** * The replacement character codepoint to be used in place of any invalid - * formatting in the input when `errors='replace'`. Any valid unicode codepoint may + * formatting in the input when {@code errors='replace'}. Any valid unicode codepoint may * be used. The default value is the default unicode replacement character is * 0xFFFD or U+65533.) - * - * Note that for UTF-8, passing a replacement character expressible in 1 byte, such + *

    Note that for UTF-8, passing a replacement character expressible in 1 byte, such * as ' ', will preserve string alignment to the source since invalid bytes will be * replaced with a 1-byte replacement. For UTF-16-BE and UTF-16-LE, any 1 or 2 byte * replacement character will preserve byte alignment to the source. @@ -294,7 +293,7 @@ public static class Inputs extends RawOpInputs { /** * Whether to replace the C0 control characters (00-1F) with the - * `replacement_char`. Default is false. + * {@code replacement_char}. Default is false. */ public final boolean replaceControlCharacters; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Upper.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Upper.java index f7854678822..230e5a618a4 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Upper.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/strings/Upper.java @@ -146,7 +146,7 @@ public static class Inputs extends RawOpInputs { public final Operand input; /** - * Character encoding of `input`. Allowed values are '' and 'utf-8'. + * Character encoding of {@code input}. Allowed values are '' and 'utf-8'. * Value '' is interpreted as ASCII. */ public final String encoding; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingArbitraryTensorBatch.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingArbitraryTensorBatch.java index eca45be182a..248871292ed 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingArbitraryTensorBatch.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingArbitraryTensorBatch.java @@ -275,7 +275,7 @@ public static class Inputs extends RawOpInputs= 0 and less than the number + * The TPU device to use. Should be >= 0 and less than the number * of TPU cores in the task on which the node is placed. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingBatch.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingBatch.java index 0697ab23c98..811be9baee8 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingBatch.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingBatch.java @@ -215,7 +215,7 @@ public static class Inputs extends RawOpInputs { /** * The TPU device to use. This should be -1 when the Op - * is running on a TPU device, and >= 0 when the Op is running on the CPU + * is running on a TPU device, and >= 0 when the Op is running on the CPU * device. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingIntegerBatch.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingIntegerBatch.java index b8a39d7a685..e68de9fd067 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingIntegerBatch.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingIntegerBatch.java @@ -136,7 +136,7 @@ public static class Inputs extends RawOpInputs public final Operand modeOverride; /** - * The TPU device to use. Should be >= 0 and less than the number + * The TPU device to use. Should be >= 0 and less than the number * of TPU cores in the task on which the node is placed. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingRaggedTensorBatch.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingRaggedTensorBatch.java index 17ed314dab1..14853b93ac7 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingRaggedTensorBatch.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingRaggedTensorBatch.java @@ -372,7 +372,7 @@ public static class Inputs extends RawOpInputs= 0 and less than the number + * The TPU device to use. Should be >= 0 and less than the number * of TPU cores in the task on which the node is placed. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseBatch.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseBatch.java index 14f9f072088..9c78459892d 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseBatch.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseBatch.java @@ -257,7 +257,7 @@ public static class Inputs extends RawOpInputs { public final DataType T3; /** - * The TPU device to use. Should be >= 0 and less than the number + * The TPU device to use. Should be >= 0 and less than the number * of TPU cores in the task on which the node is placed. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.java index cec65b34619..40c6df43f92 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/EnqueueTPUEmbeddingSparseTensorBatch.java @@ -368,7 +368,7 @@ public static class Inputs extends RawOpInputs= 0 and less than the number + * The TPU device to use. Should be >= 0 and less than the number * of TPU cores in the task on which the node is placed. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedDequeueTuple.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedDequeueTuple.java index aa59b48755f..1aaa438e7c6 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedDequeueTuple.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedDequeueTuple.java @@ -107,12 +107,12 @@ public Iterator> iterator() { ) public static class Inputs extends RawOpInputs { /** - * The element types of each element in `outputs`. + * The element types of each element in {@code outputs}. */ public final DataType[] dtypes; /** - * The shapes of each tensor in `outputs`. + * The shapes of each tensor in {@code outputs}. */ public final Shape[] shapes; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueue.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueue.java index e9c5ebd146c..bc6c1e51a79 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueue.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueue.java @@ -227,7 +227,7 @@ public static class Inputs extends RawOpInputs { /** * The TPU device to use. This should be -1 when the Op - * is running on a TPU device, and >= 0 when the Op is running on the CPU + * is running on a TPU device, and >= 0 when the Op is running on the CPU * device. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.java index 6d5b8ab5cb1..faae10fe8a4 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/InfeedEnqueueTuple.java @@ -193,18 +193,18 @@ public static class Inputs extends RawOpInputs { public final Iterable> inputs; /** - * The element types of each element in `inputs`. + * The element types of each element in {@code inputs}. */ public final DataType[] dtypes; /** - * The shapes of each tensor in `inputs`. + * The shapes of each tensor in {@code inputs}. */ public final Shape[] shapes; /** * A vector holding the requested layout in minor-to-major sequence for - * all the tuple shapes, in the order the shapes appear in the "shapes" input. + * all the tuple shapes, in the order the shapes appear in the "shapes" input. * The layout elements for a sub-shape can be set to -1, in which case the * corresponding layout will be computed by the infeed operation. */ @@ -212,7 +212,7 @@ public static class Inputs extends RawOpInputs { /** * The TPU device to use. This should be -1 when the Op - * is running on a TPU device, and >= 0 when the Op is running on the CPU + * is running on a TPU device, and >= 0 when the Op is running on the CPU * device. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeue.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeue.java index fa6e47d2c7d..27a9edc8214 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeue.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeue.java @@ -155,7 +155,7 @@ public static class Inputs extends RawOpInputs> { /** * The TPU device to use. This should be -1 when the Op - * is running on a TPU device, and >= 0 when the Op is running on the CPU + * is running on a TPU device, and >= 0 when the Op is running on the CPU * device. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTuple.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTuple.java index bef44e59c77..e3256963740 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTuple.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTuple.java @@ -152,18 +152,18 @@ public Options deviceOrdinal(Long deviceOrdinal) { ) public static class Inputs extends RawOpInputs { /** - * The element types of each element in `outputs`. + * The element types of each element in {@code outputs}. */ public final DataType[] dtypes; /** - * The shapes of each tensor in `outputs`. + * The shapes of each tensor in {@code outputs}. */ public final Shape[] shapes; /** * The TPU device to use. This should be -1 when the Op - * is running on a TPU device, and >= 0 when the Op is running on the CPU + * is running on a TPU device, and >= 0 when the Op is running on the CPU * device. */ public final long deviceOrdinal; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTupleV2.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTupleV2.java index 23b7f3ae189..dc78bf09faa 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTupleV2.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/OutfeedDequeueTupleV2.java @@ -122,12 +122,12 @@ public static class Inputs extends RawOpInputs { public final Operand deviceOrdinal; /** - * The element types of each element in `outputs`. + * The element types of each element in {@code outputs}. */ public final DataType[] dtypes; /** - * The shapes of each tensor in `outputs`. + * The shapes of each tensor in {@code outputs}. */ public final Shape[] shapes; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/PrelinearizeTuple.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/PrelinearizeTuple.java index cb67b7ad219..9c0217fded0 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/PrelinearizeTuple.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/tpu/PrelinearizeTuple.java @@ -185,18 +185,18 @@ public static class Inputs extends RawOpInputs { public final Iterable> inputs; /** - * The element types of each element in `inputs`. + * The element types of each element in {@code inputs}. */ public final DataType[] dtypes; /** - * The shapes of each tensor in `inputs`. + * The shapes of each tensor in {@code inputs}. */ public final Shape[] shapes; /** * A vector holding the requested layout in minor-to-major sequence for all the - * tuple shapes in the order the shapes appear in the "shapes" input. The layout + * tuple shapes in the order the shapes appear in the "shapes" input. The layout * elements for a sub-shape can be set to -1 in which case the corresponding layout * will be computed by the infeed operation. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdaMax.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdaMax.java index 3745c1a0dc0..5a6b4fa2871 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdaMax.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdaMax.java @@ -209,7 +209,7 @@ public static class Inputs extends RawOpInputs> public final DataType T; /** - * If `True`, updating of the var, m, and v tensors will be protected + * If {@code True}, updating of the var, m, and v tensors will be protected * by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagrad.java index 94ede4d4a85..9a717cb0daf 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagrad.java @@ -198,7 +198,7 @@ public static class Inputs extends RawOpInputs> public final DataType T; /** - * If `True`, updating of the var and accum tensors will be protected + * If {@code True}, updating of the var and accum tensors will be protected * by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagradV2.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagradV2.java index abb8cf13c08..6766d80538e 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagradV2.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAdagradV2.java @@ -205,7 +205,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> { public final DataType T; /** - * If `True`, updating of the var, m, and v tensors will be protected + * If {@code True}, updating of the var, m, and v tensors will be protected * by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ public final boolean useLocking; /** - * If `True`, uses the nesterov update. + * If {@code True}, uses the nesterov update. */ public final boolean useNesterov; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAddSign.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAddSign.java index 6adc7810232..434802b1590 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAddSign.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyAddSign.java @@ -195,7 +195,7 @@ public static class Inputs extends RawOpInputs> public final DataType T; /** - * If `True`, updating of the var and m tensors is + * If {@code True}, updating of the var and m tensors is * protected by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyCenteredRmsProp.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyCenteredRmsProp.java index ff482191f8c..46f9975e74a 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyCenteredRmsProp.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyCenteredRmsProp.java @@ -220,7 +220,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> { public final DataType T; /** - * If `True`, updating of the var and accum tensors will be protected + * If {@code True}, updating of the var and accum tensors will be protected * by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyGradientDescent.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyGradientDescent.java index 3ecfae71626..f7c93955d6b 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyGradientDescent.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyGradientDescent.java @@ -161,7 +161,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs public final DataType T; /** - * If `True`, updating of the var and accum tensors will be protected + * If {@code True}, updating of the var and accum tensors will be protected * by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ public final boolean useLocking; /** - * If `True`, the tensor passed to compute grad will be + * If {@code True}, the tensor passed to compute grad will be * var - lr * momentum * accum, so in the end, the var you get is actually * var - lr * momentum * accum. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyPowerSign.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyPowerSign.java index 800923076c3..dad41ae5e50 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyPowerSign.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ApplyPowerSign.java @@ -195,7 +195,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs> public final DataType T; /** - * If `True`, updating of the var, ms, and mom tensors is protected + * If {@code True}, updating of the var, ms, and mom tensors is protected * by a lock; otherwise the behavior is undefined, but may exhibit less * contention. */ diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/BatchMatMul.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/BatchMatMul.java index 479f29deaf2..14fdcd8d781 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/BatchMatMul.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/BatchMatMul.java @@ -263,12 +263,12 @@ public static class Inputs extends RawOpInputs> { public final DataType Tout; /** - * If `True`, adjoint the slices of `x`. Defaults to `False`. + * If {@code True}, adjoint the slices of {@code x}. Defaults to {@code False}. */ public final boolean adjX; /** - * If `True`, adjoint the slices of `y`. Defaults to `False`. + * If {@code True}, adjoint the slices of {@code y}. Defaults to {@code False}. */ public final boolean adjY; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ResourceApplyAdaMax.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ResourceApplyAdaMax.java index b6cc57f3185..470a8f8414c 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ResourceApplyAdaMax.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/ResourceApplyAdaMax.java @@ -189,7 +189,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs> { /** * Index of file to open first if multiple files match - * `file_pattern`. See the documentation for `Restore`. + * {@code file_pattern}. See the documentation for {@code Restore}. */ public final long preferredShard; diff --git a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/SparseApplyAdagrad.java b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/SparseApplyAdagrad.java index b53c5b6f540..a75507dde54 100644 --- a/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/SparseApplyAdagrad.java +++ b/tensorflow-core/tensorflow-core-api/src/gen/java/org/tensorflow/op/train/SparseApplyAdagrad.java @@ -220,7 +220,7 @@ public static class Inputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs extends RawOpInputs { public final Iterable> inputs; /** - * The element types of each element in `inputs`. + * The element types of each element in {@code inputs}. */ public final DataType[] Tinputs; /** - * The element types of each element in `outputs`. + * The element types of each element in {@code outputs}. */ public final DataType[] Toutputs; @@ -261,7 +261,7 @@ public static class Inputs extends RawOpInputs { public final String[] ancestors; /** - * If shape_inference_graph is empty, a list of the shapes of `outputs`. + * If shape_inference_graph is empty, a list of the shapes of {@code outputs}. */ public final Shape[] shapes; diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/EagerSession.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/EagerSession.java index 62b93bcf219..84fc4d7fe9c 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/EagerSession.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/EagerSession.java @@ -1,4 +1,4 @@ -/* Copyright 2019-2021 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2019-2024 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -115,7 +115,7 @@ public Options devicePlacementPolicy(DevicePlacementPolicy value) { * * @param config a config protocol buffer * @see config.proto + * href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/protobuf/config.proto">config.proto */ public Options config(ConfigProto config) { this.config = config; diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/SavedModelBundle.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/SavedModelBundle.java index 9f63f3e7fea..0228519e42c 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/SavedModelBundle.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/SavedModelBundle.java @@ -1,4 +1,4 @@ -/* Copyright 2019-2021 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2019-2024 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -250,9 +250,8 @@ public Exporter withSignature(Signature signature) { /** * Add multiple signatures to the model. Wraps {@link #withSignature(Signature)} * - *

    Either {@link #withSession(Session)} or {@link * #withFunction(SessionFunction)} must - * be called before this method, and the session set there will be used for these - * signatures. + *

    Either {@link #withSession(Session)} or {@link #withFunction(SessionFunction)} must be + * called before this method, and the session set there will be used for these signatures. * * @throws IllegalStateException if no session has been set * @return this diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.java index 8e65425cf35..80d99f227ec 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.java @@ -221,8 +221,8 @@ public final class Runner { * Avoid evaluating {@code operation} and substitute {@code t} for the value it produces. * * @param operation Is either the string name of the operation, in which case this method is a - * shorthand for {@code feed(operation, 0)}, or it is a string of the form - * operation_name:output_index , in which case this method acts like {@code + * shorthand for {@code feed(operation, 0)}, or it is a string of the form {@code + * operation_name:output_index}, in which case this method acts like {@code * feed(operation_name, output_index)}. These colon-separated names are commonly used in the * {@code SignatureDef} protocol buffer messages that are included in {@link * SavedModelBundle#metaGraphDef()}. @@ -283,8 +283,8 @@ public Runner feed(Operand operand, Tensor t) { *

    If the output is a resource variable, will fetch the value. * * @param operation Is either the string name of the operation, in which case this method is a - * shorthand for {@code fetch(operation, 0)}, or it is a string of the form - * operation_name:output_index , in which case this method acts like {@code + * shorthand for {@code fetch(operation, 0)}, or it is a string of the form {@code + * operation_name:output_index}, in which case this method acts like {@code * fetch(operation_name, output_index)}. These colon-separated names are commonly used in * the {@code SignatureDef} protocol buffer messages that are included in {@link * SavedModelBundle#metaGraphDef()}. @@ -403,7 +403,7 @@ public Runner fetch(Operand operand) { * Tensors}. * * @param operation Is either the string name of the operation or it is a string of the form - * operation_name:output_index, where output_index will simply be ignored. + * {@code operation_name:output_index}, where {@code output_index} will simply be ignored. * @return this session runner * @throws IllegalArgumentException if no operation exists with the provided name */ @@ -467,16 +467,7 @@ public boolean isEmpty() { * Execute the graph fragments necessary to compute all requested fetches. * *

    WARNING: The caller assumes ownership of all returned {@link Tensor Tensors}, i.e., - * the caller must call {@link Tensor#close} on all elements of the returned list to free up - * resources. - * - *

    TODO(ashankar): Reconsider the return type here. Two things in particular: (a) Make it - * easier for the caller to cleanup (perhaps returning something like AutoCloseableList in - * SessionTest.java), and (b) Evaluate whether the return value should be a list, or maybe a - * {@code Map}? - * - *

    TODO(andrewmyers): It would also be good if whatever is returned here made it easier to - * extract output tensors in a type-safe way. + * the caller must call {@link Result#close} to free up resources. * * @return list of resulting tensors fetched by this session runner */ diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Tensor.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Tensor.java index 4d9f2a453b7..0c243f4a2ab 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Tensor.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Tensor.java @@ -1,4 +1,4 @@ -/* Copyright 2016 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2016-2024 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -100,7 +100,7 @@ static T of(Class type, Shape shape, long size) { * *

    The amount of memory to allocate is derived from the datatype and the shape of the tensor. * Tensor data is initialized by calling the {@code dataInitializer}, which receives in argument - * the value returned by {@link #data()} on the allocated tensor. For example: + * the value returned by {@code data()} on the allocated tensor. For example: * *

    {@code
        * FloatNdArray data = ...
    @@ -207,10 +207,10 @@ static  T of(Class type, Shape shape, ByteDataBuffer rawData
       /**
        * Check if this tensor is sparse or not.
        *
    -   * 

    When this methods retuns {@code true}, the tensor could be cast to a {@link SparseTensor - * SparseTensor} to access its indices, values and denseShape tensors. + *

    When this method returns {@code true}, the tensor could be cast to a {@link SparseTensor} to + * access its indices, values and denseShape tensors. * - * @return true if this tensor is a sparse + * @return true if this tensor is a sparse tensor. */ default boolean isSparse() { return false; diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/TensorMapper.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/TensorMapper.java index 8660395b702..1abf8c115cf 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/TensorMapper.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/TensorMapper.java @@ -49,8 +49,7 @@ public abstract class TensorMapper { * space. * @param tensorScope scope to extend to keep a reference on the sub-tensors composing this sparse * tensor - * @return an instance of {@code T}, that could also be casted to a {@link SparseTensor - * SparseTensor} + * @return an instance of {@code T}. */ protected abstract SparseTensor mapSparse( TInt64 indices, T values, TInt64 denseShape, PointerScope tensorScope); diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Constant.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Constant.java index 246d222f303..b68bdbcd289 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Constant.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Constant.java @@ -1329,11 +1329,7 @@ public static Constant tensorOfSameType( /** * Create a constant by making an immutable copy of {@code tensor}. {@code tensor} may be closed - * afterwards without issue. - * - *

    Note: this endpoint cannot be simply called {@code constant} since it will conflict with - * other endpoints accepting an NdArray in parameter {e.g. {@link #tensorOf(Scope, - * FloatNdArray)}}. + * afterward without issue. * * @param scope is a scope used to add the underlying operation. * @param tensor a Tensor holding the constant value diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Function.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Function.java index 04d107baa75..94d279b52fa 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Function.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Function.java @@ -1,4 +1,4 @@ -/* Copyright 2020-2021 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2020-2024 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -27,6 +27,9 @@ @Operator(name = "call") public abstract class Function { + /** Constructor. */ + public Function() {} + /** * Calls the function in an execution environment, adding its graph as a function if it isn't * already present. The inputs and outputs are keyed by the names set in the {@code Signature}. diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Shapes.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Shapes.java index a8cc8409785..309fd81f1e5 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Shapes.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Shapes.java @@ -1,4 +1,4 @@ -/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2020-2024 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -389,7 +389,8 @@ public static Operand head(Scope scope, Shape shape, C * * @param scope current scope * @param shape the TensorFlow shape - * @param n the number of leading dimensions to get, must be <= than the shape's numDimensions() + * @param n the number of leading dimensions to get, must be less than or equal to the shape's + * numDimensions() * @return a 1-dimensional operand with the dimensions matching the first n dimensions of the * shape */ @@ -404,7 +405,8 @@ public static Operand take(Scope scope, Shape shape, Operand the shape datatype. * @return a 1-dimensional operand with the dimensions matching * the first n dimensions of the @@ -456,7 +458,8 @@ public static Operand tail(Scope scope, Shape shape, C * * @param scope current scope * @param shape the TensorFlow shape - * @param n the number of leading dimensions to get, must be <= than the shape's numDimensions() + * @param n the number of leading dimensions to get, must be less than or equal to the shape's + * numDimensions() * @return a 1-dimensional operand containing the dimensions matching the last n dimensions of the * shape */ @@ -472,7 +475,8 @@ public static Operand takeLast( * * @param scope current scope * @param shape the TensorFlow shape - * @param n the number of leading dimensions to get, must be <= than the shape's numDimensions() + * @param n the number of leading dimensions to get, must be less than or equal to the shape's + * numDimensions() * @param type the shape datatype. * @param the shape datatype. * @return a 1-dimensional operand containing the dimensions matching the last n dimensions of the diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/StridedSliceHelper.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/StridedSliceHelper.java index c3eccac6931..109c97c0247 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/StridedSliceHelper.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/StridedSliceHelper.java @@ -1,4 +1,4 @@ -/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. +/* Copyright 2020-2024 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -137,16 +137,17 @@ static StridedSliceArgs mergeIndexes(Index[] indices) { * equal to `n`, but this need not be the case. Each range specification entry can be one of the * following: * - *

    - An ellipsis (...) using {@link Indices#ellipsis()}. Ellipses are used to imply zero or - * more dimensions of full-dimension selection. For example, {@code stridedSlice(foo, - * Indices.ellipsis()} is the identity slice. + *

    - An ellipsis (...) using {@link org.tensorflow.ndarray.index.Indices#ellipsis()}. Ellipses + * are used to imply zero or more dimensions of full-dimension selection. For example, {@code + * stridedSlice(foo, Indices.ellipsis()} is the identity slice. * - *

    - A new axis using {@link Indices#newAxis()}. This is used to insert a new shape=1 - * dimension. For example, `{@code stridedSlice(foo, Indices.newAxis())} where {@code foo} is - * shape {@code (3, 4)} produces a {@code (1, 3, 4)} tensor. + *

    - A new axis using {@link org.tensorflow.ndarray.index.Indices#newAxis()}. This is used to + * insert a new shape=1 dimension. For example, `{@code stridedSlice(foo, Indices.newAxis())} + * where {@code foo} is shape {@code (3, 4)} produces a {@code (1, 3, 4)} tensor. * - *

    - A range {@code begin:end:stride} using {@link Indices#slice(Long, Long, long)} - * Index.slice()} or {@link Indices#all()}. This is used to specify how much to choose from a + *

    - A range {@code begin:end:stride} using {@link + * org.tensorflow.ndarray.index.Indices#slice(Long, Long, long)} Index.slice()} or {@link + * org.tensorflow.ndarray.index.Indices#all()}. This is used to specify how much to choose from a * given dimension. {@code stride} can be any integer but 0. {@code begin} is an integer which * represents the index of the first value to select while {@code end} represents the index of the * last value to select (exclusive). Begin and end can be null, in which case the index begins or @@ -163,10 +164,11 @@ static StridedSliceArgs mergeIndexes(Index[] indices) { * elements). For example {@code foo = [1,2,3,4]; stridedSlice(foo, Indices.slice(-2, null, -1)} * is {@code [4,3]}. * - *

    - A single index using {@link Indices#at(long)}. This is used to keep only elements that - * have a given index. For example ({@code stridedSlice(foo, Indices.at(2))} on a shape {@code - * (5,6)} tensor produces a shape {@code (6,)} tensor. The dimension can be kept with size one - * using {@link Indices#at(long, boolean)}. + *

    - A single index using {@link org.tensorflow.ndarray.index.Indices#at(long)}. This is used + * to keep only elements that have a given index. For example ({@code stridedSlice(foo, + * Indices.at(2))} on a shape {@code (5,6)} tensor produces a shape {@code (6,)} tensor. The + * dimension can be kept with size one using {@link org.tensorflow.ndarray.index.Indices#at(long, + * boolean)}. * *

    These semantics generally follow NumPy's indexing semantics, which can be found here: https://numpy.org/doc/stable/reference/arrays.indexing.html @@ -175,9 +177,9 @@ static StridedSliceArgs mergeIndexes(Index[] indices) { * * @param scope current scope * @param data type for {@code output()} output - * @param indices The indices to slice. See {@link Indices}. + * @param indices The indices to slice. See {@link org.tensorflow.ndarray.index.Indices}. * @return a new instance of StridedSlice - * @see Indices + * @see org.tensorflow.ndarray.index.Indices */ @Endpoint(name = "stridedSlice") public static StridedSlice stridedSlice( @@ -210,9 +212,10 @@ public static StridedSlice stridedSlice( * @param scope current scope * @param ref the tensor to assign to. * @param value the value to assign. - * @param indices The indices to slice. See {@link Indices}. + * @param indices The indices to slice. See {@link org.tensorflow.ndarray.index.Indices}. * @return a new instance of StridedSliceAssign - * @see org.tensorflow.op.Ops#stridedSlice(Operand, Index...) + * @see org.tensorflow.op.Ops#stridedSlice(org.tensorflow.Operand, + * org.tensorflow.ndarray.index.Index...) */ @Endpoint(name = "stridedSliceAssign") public static StridedSliceAssign stridedSliceAssign( diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBfloat16.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBfloat16.java index f7f29de8424..c511262e339 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBfloat16.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBfloat16.java @@ -120,11 +120,11 @@ static TBfloat16 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBool.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBool.java index ef218e6d24c..eee01cd0892 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBool.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TBool.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 The TensorFlow Authors. All Rights Reserved. + * Copyright 2019-2024 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -111,11 +111,11 @@ static TBool tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of {@code false}. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat16.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat16.java index 10f995f88a5..8b590b58339 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat16.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat16.java @@ -117,11 +117,11 @@ static TFloat16 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat32.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat32.java index 7bbeab3701b..8b1bdf13639 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat32.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat32.java @@ -105,11 +105,11 @@ static TFloat32 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat64.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat64.java index 5c616232454..f76323d06d4 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat64.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TFloat64.java @@ -105,11 +105,11 @@ static TFloat64 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt32.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt32.java index c3a54d59d36..d2fb4814a24 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt32.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt32.java @@ -103,11 +103,11 @@ static TInt32 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt64.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt64.java index 175188278a5..57741e22641 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt64.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TInt64.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 The TensorFlow Authors. All Rights Reserved. + * Copyright 2019-2024 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -104,11 +104,11 @@ static TInt64 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TString.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TString.java index eee64d53a50..14b438fbe76 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TString.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TString.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 The TensorFlow Authors. All Rights Reserved. + * Copyright 2019-2024 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -131,8 +131,8 @@ static TString tensorOf(Shape shape, DataBuffer data) { *

    The data will be copied from the provided buffer to the tensor after it is allocated. The * strings are encoded into bytes using the charset passed in parameter. * - *

    If charset is different than default UTF-8, then it must also be provided explicitly when - * reading data from the tensor, using {@link #using(Charset)}: + *

    If charset is different from the default UTF-8, then it must also be provided explicitly + * when reading data from the tensor, using {@link #using(Charset)}: * *

    {@code
        * // Given `originalStrings` an initialized buffer of strings
    @@ -193,11 +193,11 @@ static TString tensorOfBytes(Shape shape, DataBuffer data) {
       }
     
       /**
    -   * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense
    +   * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense
        * tensors, with an empty string as the default value.
        *
    -   * 

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint16.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint16.java index 24263a48767..313df5f6ea1 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint16.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint16.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 The TensorFlow Authors. All Rights Reserved. + * Copyright 2022-2024 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -105,11 +105,11 @@ static TUint16 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint8.java b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint8.java index 4507ae034eb..ff9d31a6fd2 100644 --- a/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint8.java +++ b/tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/types/TUint8.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 The TensorFlow Authors. All Rights Reserved. + * Copyright 2019-2024 The TensorFlow Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -104,11 +104,11 @@ static TUint8 tensorOf(Shape shape, Consumer dataInit) { } /** - * Create a sparse tensors from {@code indices}, {@code values} and {@code denseShape} dense + * Create a sparse tensor from {@code indices}, {@code values} and {@code denseShape} dense * tensors, with a default value of zero. * - *

    The returned instance also implements the {@link SparseTensor SparseTensor} - * interface, allowing a user to access directly the dense tensors when needed. + *

    The returned instance also implements the {@link SparseTensor} interface, allowing a user to + * access directly the dense tensors when needed. * * @param indices A 2-D tensor of shape {@code [N, ndims]}, that specifies the indices of the * elements in the sparse tensor that contain non-default values (elements are zero-indexed). diff --git a/tensorflow-core/tensorflow-core-generator/pom.xml b/tensorflow-core/tensorflow-core-generator/pom.xml index 1e19903ff9c..a90d85a1d4b 100644 --- a/tensorflow-core/tensorflow-core-generator/pom.xml +++ b/tensorflow-core/tensorflow-core-generator/pom.xml @@ -44,7 +44,7 @@ com.squareup javapoet - 1.12.1 + 1.13.0 com.google.protobuf @@ -62,6 +62,16 @@ commonmark 0.17.1 + + org.junit.jupiter + junit-jupiter-api + test + + + org.junit.jupiter + junit-jupiter-engine + test + diff --git a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/ClassGenerator.java b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/ClassGenerator.java index 51151992194..83b76bdee56 100644 --- a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/ClassGenerator.java +++ b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/ClassGenerator.java @@ -297,8 +297,10 @@ void buildClass() { if (seenGenerics.add(typeVar.name)) { typeParams.add(typeVar); builder.addTypeVariable(typeVar); - builder.addJavadoc( - "\n@param <$L> data type for {@code $L} output\n", typeVar.name, output.getName()); + // FIXME: check if we need to add this or if it's redundant now with other type + // generations. + // builder.addJavadoc("\n@param <$L> data type for {@code $L} output\n", typeVar.name, + // output.getName()); } } } @@ -1008,7 +1010,7 @@ private Set buildInputsClass() { attrNames.add(CodeBlock.of("$S", attr.getName()).toString()); inputsBuilder.addField( FieldSpec.builder(javaType, name, Modifier.PUBLIC, Modifier.FINAL) - .addJavadoc("$L", description) + .addJavadoc("$L", parseDocumentation(description)) .build()); fieldInits.addStatement( "$L = op.attributes().getAttr$L($S)", diff --git a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/CoreJavaDocNodeRenderer.java b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/CoreJavaDocNodeRenderer.java index cc80f5f0bb6..37c26c2a292 100644 --- a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/CoreJavaDocNodeRenderer.java +++ b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/CoreJavaDocNodeRenderer.java @@ -427,7 +427,7 @@ public void visit(Code code) { public void visit(HtmlInline htmlInline) { String text = htmlInline.getLiteral(); // handle non- JavaDoc html, e.g. - String tag = text.replace("\\", ""); + String tag = text.replace("/", ""); if (!allowedHtml5Tags.contains(tag.toLowerCase())) { text = text.replace("<", "<").replace(">", ">"); writer.raw(text); diff --git a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/JavaDocRenderer.java b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/JavaDocRenderer.java index 66ea531b674..33b0aaf87b3 100644 --- a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/JavaDocRenderer.java +++ b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/javadoc/JavaDocRenderer.java @@ -65,13 +65,7 @@ private JavaDocRenderer(Builder builder) { this.nodeRendererFactories = new ArrayList<>(builder.nodeRendererFactories.size() + 1); this.nodeRendererFactories.addAll(builder.nodeRendererFactories); // Add as last. This means clients can override the rendering of core nodes if they want. - this.nodeRendererFactories.add( - new JavaDocNodeRendererFactory() { - @Override - public NodeRenderer create(JavaDocNodeRendererContext context) { - return new CoreJavaDocNodeRenderer(context); - } - }); + this.nodeRendererFactories.add(CoreJavaDocNodeRenderer::new); } /** diff --git a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/processor/OperatorProcessor.java b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/processor/OperatorProcessor.java index 57d18cb4c7b..5376d45027b 100644 --- a/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/processor/OperatorProcessor.java +++ b/tensorflow-core/tensorflow-core-generator/src/main/java/org/tensorflow/generator/op/processor/OperatorProcessor.java @@ -459,8 +459,7 @@ private static TypeSpec buildGroupClass(OpsSpec spec) { TypeSpec.classBuilder(spec.className) .addModifiers(Modifier.PUBLIC, Modifier.FINAL) .addJavadoc( - "An API for building {@code $L} operations as {@link $T Op}s\n\n" - + "@see {@link $T}\n", + "An API for building {@code $L} operations as {@link $T Op}s\n\n" + "@see $T\n", spec.groupName, Names.Op, Names.Ops) @@ -546,7 +545,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return new $T(scope.withSubScope(childScopeName))", Names.Ops) .addJavadoc( "Returns an API that builds operations with the provided name prefix.\n" - + "\n@see {@link $T#withSubScope(String)}\n", + + "\n@see $T#withSubScope(String)\n", Names.Scope) .build()); @@ -572,7 +571,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return new Ops(scope.withName(opName))") .addJavadoc( "Returns an API that uses the provided name for an op.\n\n" - + "@see {@link $T#withName(String)}\n", + + "@see $T#withName(String)\n", Names.Scope) .build()); @@ -584,7 +583,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return new Ops(scope.withDevice(deviceSpec))") .addJavadoc( "Returns an API that places the created operations on the device(s) matching the provided spec.\n\n" - + "@see {@link $T#withDevice(DeviceSpec)}\n", + + "@see $T#withDevice(DeviceSpec)\n", Names.Scope) .build()); @@ -596,7 +595,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return new Ops(scope.withControlDependencies(controls))") .addJavadoc( "Returns an API that adds operations to the graph with the provided control dependencies.\n\n" - + "@see {@link $T#withControlDependencies(Iterable>)}\n", + + "@see $T#withControlDependencies(Iterable)\n", Names.Scope) .build()); @@ -609,7 +608,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return withControlDependencies($T.asList(controls))", Names.Arrays) .addJavadoc( "Returns an API that adds operations to the graph with the provided control dependencies.\n\n" - + "@see {@link $T#withControlDependencies(Iterable>)}\n", + + "@see $T#withControlDependencies(Iterable)\n", Names.Scope) .build()); @@ -621,7 +620,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return new Ops(scope.withControlDependencyOps(controls))") .addJavadoc( "Returns an API that adds operations to the graph with the provided control dependencies.\n\n" - + "@see {@link $T#withControlDependencyOps(Iterable)}\n", + + "@see $T#withControlDependencyOps(Iterable)\n", Names.Scope) .build()); @@ -634,7 +633,7 @@ private static TypeSpec buildTopClass(OpsSpec spec) { .addStatement("return withControlDependencyOps($T.asList(controls))", Names.Arrays) .addJavadoc( "Returns an API that adds operations to the graph with the provided control dependencies.\n\n" - + "@see {@link $T#withControlDependencyOps(Iterable)}\n", + + "@see $T#withControlDependencyOps(Iterable)\n", Names.Scope) .build()); diff --git a/tensorflow-core/tensorflow-core-native/pom.xml b/tensorflow-core/tensorflow-core-native/pom.xml index fff8f9c5756..1ac8b62c95c 100644 --- a/tensorflow-core/tensorflow-core-native/pom.xml +++ b/tensorflow-core/tensorflow-core-native/pom.xml @@ -641,7 +641,7 @@ maven-javadoc-plugin - 3.6.0 + 3.7.0 attach-javadocs @@ -649,6 +649,12 @@ jar + + -Xmaxerrs + 65536 + -Xmaxwarns + 65536 + false 256m 2048m diff --git a/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Buffer.java b/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Buffer.java index 108549a875b..2e3dfc9f673 100644 --- a/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Buffer.java +++ b/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Buffer.java @@ -56,7 +56,10 @@ public static TF_Buffer newBuffer() { return b; } - /** Returns {@code newBufferFromString(new BytePointer(proto.toByteArray())), or null if proto is null or empty. */ + /** + * Returns {@code newBufferFromString(new BytePointer(proto.toByteArray()))}, or null if proto is + * null or empty. + */ public static TF_Buffer newBufferFromString(Message proto) { if (proto == null) { return null; diff --git a/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Graph.java b/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Graph.java index 3cc7624ab71..3795f19f30f 100644 --- a/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Graph.java +++ b/tensorflow-core/tensorflow-core-native/src/main/java/org/tensorflow/internal/c_api/AbstractTF_Graph.java @@ -44,7 +44,7 @@ public AbstractTF_Graph(Pointer p) { /** * Calls TF_NewGraph(), and registers a deallocator. * - *

    Note {@link org.tensorflow.Graph} will call TF_DeleteGraph on close, so do not use this + *

    Note {@code org.tensorflow.Graph} will call TF_DeleteGraph on close, so do not use this * method when constructing a reference for use inside a {@code Graph} object. * * @return TF_Graph created. Do not call TF_DeleteGraph() on it.