Set network inputs from image