#NEWLINE# def answer_probabilities( self , * args , **kwargs ) : #NEWLINE# #INDENT# '\n        normalise the answer groups for each question.\n        ' #NEWLINE# input = self . input_layer . output ( * args , ** kwargs ) #NEWLINE# input_clipped = T . maximum ( input , 0 ) #NEWLINE# normalisation_denoms = ( T . dot ( input_clipped , self . normalisation_mask ) + 1e-12 ) #NEWLINE# input_normalised = ( input_clipped / normalisation_denoms ) #NEWLINE# return kwargs