Preparing NetLayer