#NEWLINE# def __call__( self , batch ) : #NEWLINE# #INDENT# '\n        .. todo::\n\n            WRITEME\n        ' #NEWLINE# if self . input_space : #NEWLINE# #INDENT# self . input_space . validate ( batch ) #NEWLINE# #UNINDENT# squared_batch = ( batch ** 2 ) #NEWLINE# squared_norm = squared_batch . sum ( axis = 1 ) #NEWLINE# norm = tensor . sqrt ( squared_norm ) #NEWLINE# return ( batch / norm )