#NEWLINE# def test_softmax_weight_init( ) : #NEWLINE# #INDENT# '\n    Constructs softmax layers with different weight initialization\n    parameters.\n    ' #NEWLINE# nvis = 5 #NEWLINE# num_classes = 10 #NEWLINE# MLP ( layers = [ Softmax ( num_classes , 's' , irange = 0.1 ) ] , nvis = nvis ) #NEWLINE# MLP ( layers = [ Softmax ( num_classes , 's' , istdev = 0.1 ) ] , nvis = nvis ) #NEWLINE# MLP ( layers = [ Softmax ( num_classes , 's' , sparse_init = 2 ) ] , nvis = nvis )