Allow for logit_fn's to return dictionaries of Tensors in caller utility for logit_fn.
In dnn_logit_fn builder, do not allow for list of units -- instead, return a single Tensor. MultiHead will handle this through logit splitting (and also handles dictionary returns for other logit_fn's). PiperOrigin-RevId: 174522912
Loading
Please sign in to comment