Input is indeoendent quantity. You feed in the input and you will get the output. First make the object of the class net and pass input tensor to the net which will process that into the output. Was I able to interpret your question correctly?