Feb 18, 2021, 5:37:50 PMFeb 18
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:
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.