looks like the same issue as this one: https://developer.apple.com/forums/thread/691917
Seems Adam (and some other optimizers) currently do not work with tf-macos and tf-metal specially on Intel/AMD Macs.
Post
Replies
Boosts
Views
Activity
Another workaround is to use RectifiedAdam optimizer from tensorflow-addon, if SGD does not work as well.