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

Commit de17554

Browse files
committed
Review
1 parent 650f84e commit de17554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TensorFlow/Operators/Math.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ public func rsqrt<T: TensorFlowFloatingPoint>(_ x: Tensor<T>) -> Tensor<T> {
645645
}
646646

647647
/// Returns the cosine similarity between `x` and `y`.
648-
@differentiable(wrt: (x, y))
648+
@differentiable
649649
public func cosineSimilarity<Scalar: TensorFlowFloatingPoint>(
650650
_ x: Tensor<Scalar>, _ y: Tensor<Scalar>
651651
) -> Tensor<Scalar> {

0 commit comments

Comments
 (0)