Skip to content

Commit bd51145

Browse files
committed
Update exception message
1 parent 92407fe commit bd51145

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ public Runner runner() {
445445
public void run(String opName) {
446446
Operation operation = graph.operation(opName);
447447
if (operation == null) {
448-
throw new IllegalArgumentException("Initializer operation named '"
449-
+ opName + "' cannot be found in the graph");
448+
throw new IllegalArgumentException("Operation named '" + opName
449+
+ "' cannot be found in the graph");
450450
}
451451
runner().addTarget(operation).run();
452452
}

0 commit comments

Comments
 (0)