I get the following error if I just pass the dense layer X to softmax:
NotImplementedError: Cannot convert a symbolic Tensor (dense_25/BiasAdd:0) to a numpy array. This error may indicate that you're trying to pass a Tensor to a NumPy call, which is not supported
I tried converting X to an ndarray first and then passing it to softmax but it still does not like the input. It seems be unhappy about the shape of the input (None, 5):
TypeError: expected sequence object with len >= 0 or a single integer
I assume I am missing some simple detail but haven’t been able to figure it out yet.