Reputation: 5093
Can Tensorflow programs use off-the-shelf Keras callbacks, when the machine learning program is using native Tensorflow and no other apis from Keras?
Upvotes: 0
Views: 138
Reputation: 5732
To start with, maybe check the keras implementation inside native Tensorflow. It has all callbacks in Keras. And you should be able to write your own callbacks just like in Keras. There might be 2 caveats:
tf.keras
.Upvotes: 1
Reputation: 46
Can't you create your own callback function in TensorFlow?
EDIT: Oh nevermind, didn't see the part about native TF.
EDIT 2: Is this useful?: In Tensorflow, is there a simple way to register a callback function for when model checkpointing happens?
Upvotes: 0