Search code examples
tensorflowkerasdeep-learningcaffelayer

Tensorflow: What is the equivalent of dense layer from Tensorflow in Caffe?


In tensorflow in order to add a dense layer I have:

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

How can I pass this Dense Layer in Keras To Caffe?


Solution

  • Dense layer is called InnerProduct in caffe Look at this for a sample code Also check this link to help you with other types of layers