I can not understand the logic of T.distributions.Categorical. The neural network gives me three actions. Softmax gives probabilities. In theory, I choose the maximum (argmax). But I can’t understand why:
action_probs = T.distributions.Categorical(f2)
action = action_probs.sample()

Can you explain this to me in more detail?))