Bayesian nn-with DenseFlipout layer, I cannot use the functional API
For customizing my neural network, I wanna use the functional API. But DenseFlipout
layer doesn’t work with the typical input layer tf.keras.Input(unit number)
. The error message says that it is not a tensor but a tuple, so it does not have ‘rank’ and it cannot enter to the DenseFilpout
layer. But how can I make the neural network without the input layer? I don’t know how to solve it.. Thanks for helping me. It means a lot to me!!