Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit b6edf9e

Browse files
committed
Style change: remove explicit types in returned closure.
1 parent 935cc9e commit b6edf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TensorFlow/Core/Runtime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ public func _graph<In: TensorGroup, Out: TensorGroup>(
949949
useXLA: Bool = false
950950
) -> (In) -> Out {
951951
let tffunc = _trace(fn)
952-
return {(input: In) -> Out in
952+
return {input in
953953
let inputHandles = input._tensorHandles.map { $0._tfeTensorHandle }
954954
let outputHandles = tffunc.execute(inputHandles, usingXLA: useXLA)
955955
return Out(_handles: outputHandles)

0 commit comments

Comments
 (0)