Skip to content

Commit f46f8c7

Browse files
committed
Rebase fix
Signed-off-by: Ryan Nett <[email protected]>
1 parent 139350f commit f46f8c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -557,11 +557,11 @@ private static ConcreteFunction buildFromGraph(Graph graph, Signature signature)
557557
TF_Status status = TF_Status.newStatus();
558558

559559
List<Operand<?>> inputs = signature.getInputs().values().stream()
560-
.map((x) -> graph.outputOrError(x.name))
560+
.map((x) -> graph.outputOrThrow(x.name))
561561
.collect(Collectors.toList());
562562

563563
List<Operand<?>> outputs = signature.getOutputs().values().stream()
564-
.map((x) -> graph.outputOrError(x.name))
564+
.map((x) -> graph.outputOrThrow(x.name))
565565
.collect(Collectors.toList());
566566

567567
List<GraphOperation> ops = new ArrayList<>(

0 commit comments

Comments
 (0)