Skip to content

Commit 304dc00

Browse files
committed
fix javadoc
Signed-off-by: Ryan Nett <[email protected]>
1 parent 7206741 commit 304dc00

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

tensorflow-core/tensorflow-core-api/src/main/java/org/tensorflow/op/core/Init.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static void add(Scope scope, Op initializer) {
102102
return;
103103
}
104104
if (!(exEnv instanceof Graph)) {
105-
throw new IllegalArgumentException("initAdd is only supported on Graph sessions.");
105+
throw new IllegalArgumentException("initAdd is only supported on Graph or eager sessions.");
106106
}
107107
Graph graph = (Graph) exEnv;
108108
graph.addInitializer(initializer);

0 commit comments

Comments
 (0)