Skip to content

Commit ab6fff2

Browse files
committed
Spotless fixes.
1 parent 10655b0 commit ab6fff2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/internal/buffer/ByteSequenceTensorBuffer.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@
2323
import static org.tensorflow.internal.c_api.global.tensorflow.TF_TString_GetSize;
2424

2525
import java.nio.ReadOnlyBufferException;
26-
import java.util.function.Function;
2726
import org.bytedeco.javacpp.BytePointer;
2827
import org.bytedeco.javacpp.Loader;
2928
import org.bytedeco.javacpp.Pointer;
3029
import org.bytedeco.javacpp.PointerScope;
3130
import org.tensorflow.internal.c_api.TF_TString;
32-
import org.tensorflow.ndarray.NdArray;
3331
import org.tensorflow.ndarray.buffer.DataBuffer;
3432
import org.tensorflow.ndarray.impl.buffer.AbstractDataBuffer;
3533
import org.tensorflow.ndarray.impl.buffer.Validator;
@@ -65,8 +63,8 @@ public static <T> long computeSize(ByteSequenceProvider<?> byteSequenceProvider)
6563
*
6664
* <p>While it is not enforced programmatically, it is mandatory that this method is called only
6765
* once after the creation of the buffer. The buffer must have been allocated according to the
68-
* same set of data, calling {@link #computeSize} priory to make sure there is
69-
* enough space to store it.
66+
* same set of data, calling {@link #computeSize} priory to make sure there is enough space to
67+
* store it.
7068
*
7169
* @param byteSequenceProvider produces sequences of bytes to use as the tensor data
7270
*/

0 commit comments

Comments
 (0)