【问题标题】:Tensorflow: What is the equivalent of dense layer from Tensorflow in Caffe?Tensorflow:Caffe 中 Tensorflow 的密集层相当于什么?
【发布时间】:2023-03-05 03:09:01
【问题描述】:

在张量流中,为了添加一个密集层,我有:

model.add(Dense(1024, activation='selu'))

如何将 Keras 中的这个 Dense Layer 传递给 Caffe?

【问题讨论】:

    标签: tensorflow keras deep-learning caffe layer


    【解决方案1】:

    密集层在 caffe 中称为 InnerProduct 查看this 示例代码 还可以查看link 以帮助您处理其他类型的图层

    【讨论】:

    • 再次感谢!你知道在这种情况下会发生什么吗:model.add(Dense(1, activation='sigmoid'))
    猜你喜欢
    • 2021-12-17
    • 2018-02-09
    • 2018-06-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-08
    • 1970-01-01
    • 2017-07-31
    相关资源
    最近更新 更多