In tf.slim, I'd like to create a stack of fully-connected layers with dropout.
To the example from documentation:
slim.stack(x, slim.fully_connected, [32, 64, 128], scope='fc')
, I'd like to add dropout.
Is it possible to use slim.stack or do I have to go back to the verbose approach?
(pseudo-code) for every layer:
slim.dropout(slim.fully_connected(...)