Skip to content

Commit 05d9de3

Browse files
authored
Generate op input and attribute accessors (#302)
1 parent 5727d71 commit 05d9de3

File tree

1,371 files changed

+60029
-2710
lines changed

Some content is hidden

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

1,371 files changed

+60029
-2710
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public final class BitwiseOps {
6262
* </pre>
6363
*
6464
* @param <T> data type for {@code z} output
65-
* @param x the x value
66-
* @param y the y value
65+
* @param x The x value
66+
* @param y The y value
6767
* @param <T> data type for {@code BitwiseAnd} output and operands
6868
* @return a new instance of BitwiseAnd
6969
*/
@@ -92,8 +92,8 @@ public <T extends TNumber> BitwiseAnd<T> bitwiseAnd(Operand<T> x, Operand<T> y)
9292
* </pre>
9393
*
9494
* @param <T> data type for {@code z} output
95-
* @param x the x value
96-
* @param y the y value
95+
* @param x The x value
96+
* @param y The y value
9797
* @param <T> data type for {@code BitwiseOr} output and operands
9898
* @return a new instance of BitwiseOr
9999
*/
@@ -122,8 +122,8 @@ public <T extends TNumber> BitwiseOr<T> bitwiseOr(Operand<T> x, Operand<T> y) {
122122
* </pre>
123123
*
124124
* @param <T> data type for {@code z} output
125-
* @param x the x value
126-
* @param y the y value
125+
* @param x The x value
126+
* @param y The y value
127127
* @param <T> data type for {@code BitwiseXor} output and operands
128128
* @return a new instance of BitwiseXor
129129
*/
@@ -173,7 +173,7 @@ public <T extends TNumber> BitwiseXor<T> bitwiseXor(Operand<T> x, Operand<T> y)
173173
* </pre>
174174
*
175175
* @param <T> data type for {@code y} output
176-
* @param x the x value
176+
* @param x The x value
177177
* @param <T> data type for {@code Invert} output and operands
178178
* @return a new instance of Invert
179179
*/
@@ -213,8 +213,8 @@ public <T extends TNumber> Invert<T> invert(Operand<T> x) {
213213
* </pre>
214214
*
215215
* @param <T> data type for {@code z} output
216-
* @param x the x value
217-
* @param y the y value
216+
* @param x The x value
217+
* @param y The y value
218218
* @param <T> data type for {@code LeftShift} output and operands
219219
* @return a new instance of LeftShift
220220
*/
@@ -256,8 +256,8 @@ public <T extends TNumber> LeftShift<T> leftShift(Operand<T> x, Operand<T> y) {
256256
* </pre>
257257
*
258258
* @param <T> data type for {@code z} output
259-
* @param x the x value
260-
* @param y the y value
259+
* @param x The x value
260+
* @param y The y value
261261
* @param <T> data type for {@code RightShift} output and operands
262262
* @return a new instance of RightShift
263263
*/

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

Lines changed: 299 additions & 299 deletions
Large diffs are not rendered by default.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public final class DtypesOps {
5757
* </blockquote>
5858
* </blockquote>
5959
*
60-
* @param input the input value
60+
* @param input The input value
6161
* @param options carries optional attribute values
6262
* @return a new instance of AsString
6363
*/
@@ -69,8 +69,8 @@ public AsString asString(Operand<? extends TType> input, AsString.Options... opt
6969
* Cast x of type SrcT to y of DstT.
7070
*
7171
* @param <U> data type for {@code y} output
72-
* @param x the x value
73-
* @param DstT the value of the DstT property
72+
* @param x The x value
73+
* @param DstT The value of the DstT attribute
7474
* @param options carries optional attribute values
7575
* @param <U> data type for {@code Cast} output and operands
7676
* @return a new instance of Cast
@@ -95,9 +95,9 @@ public <U extends TType> Cast<U> cast(Operand<? extends TType> x, Class<U> DstT,
9595
* </pre>
9696
*
9797
* @param <U> data type for {@code out} output
98-
* @param real the real value
99-
* @param imag the imag value
100-
* @param Tout the value of the Tout property
98+
* @param real The real value
99+
* @param imag The imag value
100+
* @param Tout The value of the Tout attribute
101101
* @param <U> data type for {@code Complex} output and operands
102102
* @param <T> data type for {@code Complex} output and operands
103103
* @return a new instance of Complex

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public CropAndResizeGradBoxes cropAndResizeGradBoxes(Operand<TFloat32> grads,
254254
* @param imageSize A 1-D tensor with value {@code [batch, image_height, image_width, depth]}
255255
* containing the original image size. Both {@code image_height} and {@code image_width} need
256256
* to be positive.
257-
* @param T the value of the T property
257+
* @param T The value of the T attribute
258258
* @param options carries optional attribute values
259259
* @param <T> data type for {@code CropAndResizeGradImage} output and operands
260260
* @return a new instance of CropAndResizeGradImage
@@ -456,7 +456,7 @@ public DecodePng<TUint8> decodePng(Operand<TString> contents, DecodePng.Options[
456456
*
457457
* @param <T> data type for {@code image} output
458458
* @param contents 0-D. The PNG-encoded image.
459-
* @param dtype the value of the dtype property
459+
* @param dtype The value of the dtype attribute
460460
* @param options carries optional attribute values
461461
* @param <T> data type for {@code DecodePng} output and operands
462462
* @return a new instance of DecodePng
@@ -710,8 +710,8 @@ public NonMaxSuppressionWithOverlaps nonMaxSuppressionWithOverlaps(Operand<TFloa
710710
* @param images 4-D with shape {@code [batch, height, width, channels]}.
711711
* @param sizeOutput = A 1-D int32 Tensor of 2 elements: {@code new_height, new_width}. The
712712
* new size for the images.
713-
* @param min the min value
714-
* @param max the max value
713+
* @param min The min value
714+
* @param max The max value
715715
* @param options carries optional attribute values
716716
* @param <T> data type for {@code QuantizedResizeBilinear} output and operands
717717
* @return a new instance of QuantizedResizeBilinear
@@ -901,10 +901,10 @@ public <T extends TNumber> SampleDistortedBoundingBox<T> sampleDistortedBounding
901901
/**
902902
* The ScaleAndTranslate operation
903903
*
904-
* @param images the images value
905-
* @param sizeOutput the sizeOutput value
906-
* @param scale the scale value
907-
* @param translation the translation value
904+
* @param images The images value
905+
* @param sizeOutput The sizeOutput value
906+
* @param scale The scale value
907+
* @param translation The translation value
908908
* @param options carries optional attribute values
909909
* @return a new instance of ScaleAndTranslate
910910
*/

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public DecodeJsonExample decodeJsonExample(Operand<TString> jsonExamples) {
161161
* @param inputBytes Tensor of string to be decoded.
162162
* @param fixedLength Length in bytes for each element of the decoded output. Must be a multiple
163163
* of the size of the output type.
164-
* @param outType the value of the outType property
164+
* @param outType The value of the outType attribute
165165
* @param options carries optional attribute values
166166
* @param <T> data type for {@code DecodePaddedRaw} output and operands
167167
* @return a new instance of DecodePaddedRaw
@@ -176,7 +176,7 @@ public <T extends TNumber> DecodePaddedRaw<T> decodePaddedRaw(Operand<TString> i
176176
*
177177
* @param <T> data type for {@code output} output
178178
* @param bytes All the elements must have the same length.
179-
* @param outType the value of the outType property
179+
* @param outType The value of the outType attribute
180180
* @param options carries optional attribute values
181181
* @param <T> data type for {@code DecodeRaw} output and operands
182182
* @return a new instance of DecodeRaw
@@ -430,7 +430,7 @@ public ParseExample parseExample(Operand<TString> serialized, Operand<TString> n
430430
* DT_INT64 (Int64List), and DT_STRING (BytesList).
431431
* @param contextRaggedValueTypes RaggedTensor.value dtypes for the ragged context features.
432432
* @param contextRaggedSplitTypes RaggedTensor.row_split dtypes for the ragged context features.
433-
* @param featureListDenseTypes the value of the featureListDenseTypes property
433+
* @param featureListDenseTypes The value of the featureListDenseTypes attribute
434434
* @param featureListSparseTypes A list of Nfeature_list_sparse types; the data types
435435
* of data in each FeatureList given in feature_list_sparse_keys.
436436
* Currently the ParseSingleSequenceExample supports DT_FLOAT (FloatList),
@@ -534,7 +534,7 @@ public ParseSingleExample parseSingleExample(Operand<TString> serialized,
534534
* each context Feature given in context_sparse_keys.
535535
* Currently the ParseSingleSequenceExample supports DT_FLOAT (FloatList),
536536
* DT_INT64 (Int64List), and DT_STRING (BytesList).
537-
* @param featureListDenseTypes the value of the featureListDenseTypes property
537+
* @param featureListDenseTypes The value of the featureListDenseTypes attribute
538538
* @param featureListSparseTypes A list of Nfeature_list_sparse types; the data types
539539
* of data in each FeatureList given in feature_list_sparse_keys.
540540
* Currently the ParseSingleSequenceExample supports DT_FLOAT (FloatList),
@@ -751,7 +751,7 @@ public RandomShuffleQueue randomShuffleQueue(List<Class<? extends TType>> compon
751751
/**
752752
* Reads and outputs the entire contents of the input filename.
753753
*
754-
* @param filename the filename value
754+
* @param filename The filename value
755755
* @return a new instance of ReadFile
756756
*/
757757
public ReadFile readFile(Operand<TString> filename) {
@@ -938,9 +938,9 @@ public SerializeTensor serializeTensor(Operand<? extends TType> tensor) {
938938
* Generate a sharded filename. The filename is printf formatted as
939939
* %s-%05d-of-%05d, basename, shard, num_shards.
940940
*
941-
* @param basename the basename value
942-
* @param shard the shard value
943-
* @param numShards the numShards value
941+
* @param basename The basename value
942+
* @param shard The shard value
943+
* @param numShards The numShards value
944944
* @return a new instance of ShardedFilename
945945
*/
946946
public ShardedFilename shardedFilename(Operand<TString> basename, Operand<TInt32> shard,
@@ -951,8 +951,8 @@ public ShardedFilename shardedFilename(Operand<TString> basename, Operand<TInt32
951951
/**
952952
* Generate a glob pattern matching all sharded file names.
953953
*
954-
* @param basename the basename value
955-
* @param numShards the numShards value
954+
* @param basename The basename value
955+
* @param numShards The numShards value
956956
* @return a new instance of ShardedFilespec
957957
*/
958958
public ShardedFilespec shardedFilespec(Operand<TString> basename, Operand<TInt32> numShards) {

0 commit comments

Comments
 (0)