Hello,
i would like to implement a simple Autoencoder on a microcontroller with the following arcitecture:
def AutoEncoder():
model = Sequential()
# Encoder ------------------------------------------------------------------
model.add(Dense(128, activation='tanh', input_shape=input_shape))
model.add(Dense(64, activation='tanh'))
model.add(Dense(32, activation='tanh'))
model.add(Dense(16, activation='tanh'))
model.add(Dense(8, activation='tanh'))
model.add(Dense(4, activation='tanh'))
model.add(Dense(2, activation='tanh'))
# Decoder ------------------------------------------------------------------
model.add(Dense(4, activation='tanh'))
model.add(Dense(8, activation='tanh'))
model.add(Dense(16, activation='tanh'))
model.add(Dense(32, activation='tanh'))
model.add(Dense(64, activation='tanh'))
model.add(Dense(128, activation='tanh'))
model.summary()
return model
When im trying to port this to an ESP32 with Tensorflow Micro i get the message that the REDUCE_PROD operator is not implemented in Micro yet.
So my question is, how can i work around this problem? I don’t want to add this whole operator to TF Micro. Help is appreciated.