python - Tensorflow 程序可以使用现成的 Keras 回调吗?

标签 python tensorflow machine-learning keras

当机器学习程序使用 native Tensorflow 而没有 Keras 的其他 API 时,Tensorflow 程序可以使用现成的 Keras 回调吗?

最佳答案

首先,可以检查 keras implementation inside native Tensorflow 。它具有 Keras 中的所有回调。您应该能够编写自己的回调,就像在 Keras 中一样。可能有 2 个注意事项:

  1. Tensorflow keras 和 Keras 确实存在细微差别。
  2. 如果您想在 tf.keras 外部使用这些回调,可能会很棘手。

关于python - Tensorflow 程序可以使用现成的 Keras 回调吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50267032/

相关文章:

tensorflow - 如何在张量板上显示多次运行的平均值

python - 使用预训练的 Inception_v4 模型

python - 如何在 Tensorflow 中对 LSTM 应用正则化?

image - 在 scikit-learn - csv 文件中生成图像特征数据集

python - Keras 中的 Bi-LSTM 注意力模型

python - 如何浏览股票代码列表来更新数据框

python - 不同的 Celery 实例对象使用相同的代理 - 这是一个好的实践吗?

machine-learning - 从更大的应用程序集中挑选一个训练集

python - 当目标是一个热编码时,随机森林预测任一类

python - 当我使用 BeautifulSoup .findAll 时如何获取下一个 div?