Skip to content

Commit f8f5087

Browse files
committed
Not sure why this wasn't caught
Signed-off-by: Ryan Nett <[email protected]>
1 parent 195096d commit f8f5087

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,11 +312,11 @@ private DefinedFunction makeGraphFunction() {
312312

313313
List<Operand<?>> inputList = signature.getInputs().values().stream()
314314
.map((it) -> graph.outputOrError(it.name))
315-
.collect(Collectors.toUnmodifiableList());
315+
.collect(Collectors.toList());
316316

317317
List<Operand<?>> outputList = signature.getOutputs().values().stream()
318318
.map((it) -> graph.outputOrError(it.name))
319-
.collect(Collectors.toUnmodifiableList());
319+
.collect(Collectors.toList());
320320

321321
return DefinedFunction.create(graph, signature.key(), true, inputList, outputList, description);
322322
}

0 commit comments

Comments
 (0)