Skip to content

Commit 4ee9dff

Browse files
committed
Add version in name change notice
1 parent d0022a1 commit 4ee9dff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ default Stream<T> streamOfObjects() {
291291
* array, or an exception is thrown. After the copy, content of the buffer and of the array can be
292292
* altered independently, without affecting each other.
293293
*
294-
* <p><i>Note: this method was previously named `read(DataBuffer<T>)`, which led to confusion.</i>
294+
* <p><i>Note: in version 0.4.0 and earlier, this method was named `read(DataBuffer<T>)`. It has been renamed to
295+
* explicitly indicate the direction of the data flow to avoid confusion.</i>
295296
*
296297
* @param dst the destination buffer
297298
* @return this array
@@ -307,7 +308,8 @@ default Stream<T> streamOfObjects() {
307308
* array, or an exception is thrown. After the copy, content of the buffer and of the array can be
308309
* altered independently, without affecting each other.
309310
*
310-
* <p><i>Note: this method was previously named `write(DataBuffer<T>)`, which led to confusion.</i>
311+
* <p><i>Note: in version 0.4.0 and earlier, this method was named `write(DataBuffer<T>)`. It has been renamed to
312+
* explicitly indicate the direction of the data flow to avoid confusion.</i>
311313
*
312314
* @param src the source buffer
313315
* @return this array

0 commit comments

Comments
 (0)