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

Commit 05b40de

Browse files
committed
removing wrt:x
1 parent 5a2f5b6 commit 05b40de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TensorFlow/Loss.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public func categoricalHingeLoss<Scalar: TensorFlowFloatingPoint>(
8787
}
8888

8989
// Helper function for `losCoshLoss(predicted:expected:)`.
90-
@differentiable(wrt: x)
90+
@differentiable
9191
fileprivate func logCosh<Scalar: TensorFlowFloatingPoint>(
9292
x: Tensor<Scalar>
9393
) -> Tensor<Scalar> {

0 commit comments

Comments
 (0)