From 899a8eb798ca6d3251009caf386ac74d3573db4d Mon Sep 17 00:00:00 2001 From: Philip Turner Date: Sun, 26 Dec 2021 14:13:34 -0500 Subject: [PATCH] Add differentiation keywords --- src/basic-languages/swift/swift.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/basic-languages/swift/swift.ts b/src/basic-languages/swift/swift.ts index c7adefdc..a5f7a41e 100644 --- a/src/basic-languages/swift/swift.ts +++ b/src/basic-languages/swift/swift.ts @@ -57,6 +57,8 @@ export const language = { '@asyncHandler', '@available', '@convention', + '@derivative', // Swift for TensorFlow + '@differentiable', // Swift for TensorFlow '@discardableResult', '@dynamicCallable', '@dynamicMemberLookup',