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

Commit 9548ea2

Browse files
authored
Rename @differentiating to @derivative(of:). (#569)
Friend PR: swiftlang/swift#28481
1 parent d0c0df8 commit 9548ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TensorFlow/Layer.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public extension Layer {
9191
}
9292

9393
// TODO(rxwei): Remove this custom VJP once differentiation supports currying.
94-
@differentiating(inferring(from:))
94+
@derivative(of: inferring(from:))
9595
@usableFromInline
9696
internal func _vjpInferring(from input: Input)
9797
-> (value: Output, pullback: (Output.TangentVector)

0 commit comments

Comments
 (0)