Skip to content

Commit 472ade6

Browse files
committed
Regenerate files for TensorFlow 2.5.0
1 parent 810f803 commit 472ade6

File tree

149 files changed

+32434
-1584
lines changed

Some content is hidden

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

149 files changed

+32434
-1584
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,13 @@
5555
* @see {@link Ops}
5656
*/
5757
public final class DataOps {
58-
public final DataExperimentalOps experimental;
59-
6058
private final Scope scope;
6159

6260
private final Ops ops;
6361

6462
DataOps(Ops ops) {
6563
this.scope = ops.scope();
6664
this.ops = ops;
67-
experimental = new DataExperimentalOps(ops);
6865
}
6966

7067
/**

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ public <T extends TNumber> AdjustSaturation<T> adjustSaturation(Operand<T> image
155155
* representing a single score corresponding to each box (each row of boxes).
156156
* @param maxOutputSizePerClass A scalar integer tensor representing the maximum number of
157157
* boxes to be selected by non max suppression per class
158-
* @param maxTotalSize A scalar representing maximum number of boxes retained over all classes.
158+
* @param maxTotalSize An int32 scalar representing the maximum number of boxes retained over all
159+
* classes. Note that setting this value to a large number may result in OOM error
160+
* depending on the system workload.
159161
* @param iouThreshold A 0-D float tensor representing the threshold for deciding whether
160162
* boxes overlap too much with respect to IOU.
161163
* @param scoreThreshold A 0-D float tensor representing the threshold for deciding when to remove

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,13 @@ public DecodeCsv decodeCsv(Operand<TString> records, Iterable<Operand<?>> record
138138

139139
/**
140140
* Convert JSON-encoded Example records to binary protocol buffer strings.
141-
* This op translates a tensor containing Example records, encoded using
142-
* the <a href="https://developers.google.com/protocol-buffers/docs/proto3#json">standard JSON
143-
* mapping</a> ,
144-
* into a tensor containing the same records encoded as binary protocol
145-
* buffers. The resulting tensor can then be fed to any of the other
146-
* Example-parsing ops.
141+
* Note: This is <strong>not</strong> a general purpose JSON parsing op.
142+
* <p>This op converts JSON-serialized
143+
* {@code tf.train.Example} (created with {@code json_format.MessageToJson}, following the
144+
* <a href="https://developers.google.com/protocol-buffers/docs/proto3#json">standard JSON mapping</a> )
145+
* to a binary-serialized {@code tf.train.Example} (equivalent to
146+
* {@code Example.SerializeToString()}) suitable for conversion to tensors with
147+
* {@code tf.io.parse_example}.
147148
*
148149
* @param jsonExamples Each string is a JSON object serialized according to the JSON
149150
* mapping of the Example proto.

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,25 @@ public final class LinalgOps {
9595
* <p>For example:
9696
* <pre>
9797
* # if 'input' is [[ 0, 1, 2, 3]
98-
* [-1, 0, 1, 2]
99-
* [-2, -1, 0, 1]
100-
* [-3, -2, -1, 0]],
98+
* # [-1, 0, 1, 2]
99+
* # [-2, -1, 0, 1]
100+
* # [-3, -2, -1, 0]],
101101
*
102-
* tf.matrix_band_part(input, 1, -1) ==&gt; [[ 0, 1, 2, 3]
102+
* tf.linalg.band_part(input, 1, -1) ==&gt; [[ 0, 1, 2, 3]
103103
* [-1, 0, 1, 2]
104104
* [ 0, -1, 0, 1]
105105
* [ 0, 0, -1, 0]],
106106
*
107-
* tf.matrix_band_part(input, 2, 1) ==&gt; [[ 0, 1, 0, 0]
107+
* tf.linalg.band_part(input, 2, 1) ==&gt; [[ 0, 1, 0, 0]
108108
* [-1, 0, 1, 0]
109109
* [-2, -1, 0, 1]
110110
* [ 0, -2, -1, 0]]
111111
* </pre>
112112
* <p>Useful special cases:
113113
* <pre>
114-
* tf.matrix_band_part(input, 0, -1) ==&gt; Upper triangular part.
115-
* tf.matrix_band_part(input, -1, 0) ==&gt; Lower triangular part.
116-
* tf.matrix_band_part(input, 0, 0) ==&gt; Diagonal.
114+
* tf.linalg.band_part(input, 0, -1) ==&gt; Upper triangular part.
115+
* tf.linalg.band_part(input, -1, 0) ==&gt; Lower triangular part.
116+
* tf.linalg.band_part(input, 0, 0) ==&gt; Diagonal.
117117
* </pre>
118118
*
119119
* @param <T> data type for {@code band} output

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ public <T extends TType> Sinh<T> sinh(Operand<T> x) {
19601960
}
19611961

19621962
/**
1963-
* Computes softplus: {@code log(exp(features) + 1)}.
1963+
* The Softplus operation
19641964
*
19651965
* @param <T> data type for {@code activations} output
19661966
* @param features the features value

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

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -954,8 +954,26 @@ public <T extends TNumber> Dilation2dBackpropInput<T> dilation2dBackpropInput(Op
954954
}
955955

956956
/**
957-
* Computes exponential linear: {@code exp(features) - 1} if &lt; 0, {@code features} otherwise.
958-
* See <a href="http://arxiv.org/abs/1511.07289">Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)
957+
* Computes the exponential linear function.
958+
* The ELU function is defined as:
959+
* <ul>
960+
* <li>$ e ^ x - 1 $ if $ x &lt; 0 $</li>
961+
* <li>$ x $ if $ x &gt;= 0 $</li>
962+
* </ul>
963+
* <p>Examples:
964+
* <blockquote>
965+
* <blockquote>
966+
* <blockquote>
967+
* <p>tf.nn.elu(1.0)
968+
* &lt;tf.Tensor: shape=(), dtype=float32, numpy=1.0&gt;
969+
* tf.nn.elu(0.0)
970+
* &lt;tf.Tensor: shape=(), dtype=float32, numpy=0.0&gt;
971+
* tf.nn.elu(-1000.0)
972+
* &lt;tf.Tensor: shape=(), dtype=float32, numpy=-1.0&gt;
973+
* </blockquote>
974+
* </blockquote>
975+
* </blockquote>
976+
* <p>See <a href="http://arxiv.org/abs/1511.07289">Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)
959977
* </a>
960978
*
961979
* @param <T> data type for {@code activations} output
@@ -1753,8 +1771,8 @@ public <U extends TNumber> QuantizedReluX<U> quantizedReluX(Operand<? extends TN
17531771
* <blockquote>
17541772
* <blockquote>
17551773
* <blockquote>
1756-
* <p>tf.nn.relu([-2., 0., -0., 3.]).numpy()
1757-
* array([ 0., 0., -0., 3.], dtype=float32)
1774+
* <p>tf.nn.relu([-2., 0., 3.]).numpy()
1775+
* array([0., 0., 3.], dtype=float32)
17581776
* </blockquote>
17591777
* </blockquote>
17601778
* </blockquote>

0 commit comments

Comments
 (0)