I installed the TensorFlow toolchain in Xcode and tried running an example snippet from the S4TF GitHub page. I got the following error:
JVP does not exist. Differential-first differentiation APIs are experimental and should not be used.
I then tried doing the same on Google Colab and got the same error. Here's the snippet of code I'm trying to run:
@differentiable
func f(_ x: Float) -> Float {
x * x
}
let dfdx = derivative(of: f)
dfdx(3) // 6
I understand that this is my first time running S4TF and I'm not aware of many things, so it might turn out to be a stupid mistake on my part :)