Thank you for your attention. Now I don’t want to flatting my input.  My input is (10, 1, 20, 224). I want to pass this tensor to l_in but I don’t know how pass it to first layer of my network and how pass result of this layer to fc2.
Simply I want equivalent of l_in = lasagne.layers.InputLayer(         shape=(None, 1, input_height, input_width),     ) in constructing my neural network with (10, 1, 20, 224) tensor.