Skip to content

Commit 1035b1d

Browse files
committed
Making Session.Result final.
1 parent 1450980 commit 1035b1d

File tree

1 file changed

+1
-1
lines changed
  • tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow

1 file changed

+1
-1
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/Session.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ public void restore(String prefix) {
711711
* reference to a value after this object has been closed it will throw an {@link
712712
* IllegalStateException} upon access.
713713
*/
714-
public static class Result implements AutoCloseable, Iterable<Map.Entry<String, Tensor>> {
714+
public static final class Result implements AutoCloseable, Iterable<Map.Entry<String, Tensor>> {
715715

716716
private static final Logger logger = Logger.getLogger(Result.class.getName());
717717

0 commit comments

Comments
 (0)