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

Commit cdfcd14

Browse files
jrabaryJaonary Rabarisoa
authored andcommitted
typo fix
1 parent adae7a9 commit cdfcd14

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/TensorFlow/Loss.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ public func huberLoss<Scalar: TensorFlowFloatingPoint>(
311311
delta: Scalar,
312312
reduction: @differentiable (Tensor<Scalar>) -> Tensor<Scalar> = { $0.sum() }
313313
) -> Tensor<Scalar> {
314-
315314
let error = expected - predicted
316315
let absError = abs(error)
317316
let quadratic = min(absError, delta)

0 commit comments

Comments
 (0)