
Average the softmax over repeated stochastic forward passes (p. 410)
Source:R/ml_geron.R
morie_mcdrop.RdThe listing on p. 410 is softmax(logits) over a batch repeated T times, then .mean(dim = 1) across the T passes. logits here is that same structure – an n by T by k array – supplied by the caller, so the dropout masks live outside this function and both language arms see identical numbers.