【问题标题】:How can I generate output predictions in Tensorflow just like model.predict in Keras?如何像 Keras 中的 model.predict 一样在 Tensorflow 中生成输出预测?
【发布时间】:2017-04-16 20:30:01
【问题描述】:

Keras 有 model.predict,它为输入样本生成输出预测。我正在 tensorflow 中寻找它,但似乎找不到它或对其进行编码。

【问题讨论】:

标签: python numpy tensorflow ipython keras


【解决方案1】:

您可以使用 tf.contrib.Keras 来获得相同的行为。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-10-24
    • 2017-02-21
    • 2018-10-31
    • 2019-09-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多