Brad Larson
unread,Feb 18, 2021, 5:37:50 PM2/18/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Swift for TensorFlow, mark.l...@berkeley.edu, Swift for TensorFlow, Brad Larson
The big thing to be aware of when using the stock Swift toolchains is that any file that contains
@differentiable or other differentiation-related items needs to have the following import statement:
import _Differentiation
It's fairly rare, but if your model did anything directly with ElementaryFunctions, that might need to be reworked slightly to line up with now using Swift Numerics instead of our own in-house implementation of that. Odds are, you won't have anything like that, so simply adding the above import is all you need.