def example1():
 l_in = lasagne.layers.InputLayer((100, 20))
 l_hidden1 = lasagne.layers.DenseLayer(l_in, num_units=20)
 l_hidden1_dropout = lasagne.layers.DropoutLayer(l_hidden1)
 l_hidden2 = lasagne.layers.DenseLayer(l_hidden1_dropout, num_units=20)
 l_hidden2_dropout = lasagne.layers.DropoutLayer(l_hidden2)
 l_out = lasagne.layers.DenseLayer(l_hidden2_dropout, num_units=10)
 print get_network_str(l_out)
 return None

def example1 ( ) : l_in = lasagne . layers . InputLayer ( ( 100 , 20 ) ) l_hidden1 = lasagne . layers . DenseLayer ( l_in , num_units = 20 ) l_hidden1_dropout = lasagne . layers . DropoutLayer ( l_hidden1 ) l_hidden2 = lasagne . layers . DenseLayer ( l_hidden1_dropout , num_units = 20 ) l_hidden2_dropout = lasagne . layers . DropoutLayer ( l_hidden2 ) l_out = lasagne . layers . DenseLayer ( l_hidden2_dropout , num_units = 10 ) print get_network_str ( l_out ) return None
sequential network .