Control device for a vehicle, having - a computing apparatus which has a computing platform for artificial intelligence; - wherein the computing platform is designed to provide a respective runtime environment for at least one artificial intelligence program, AI program, wherein the AI program is designed to classify predefined vehicle sensor data; - wherein the computing platform has a library management unit, wherein the library management unit is designed to provide at least one predefined program library for the AI program; - wherein the computing platform is designed to generate the runtime environment as a delimited runtime environment within a virtual machine (22, 23, 24), wherein the predefined program library is provided outside the virtual machine (22, 23, 24); - wherein the library management unit is designed to provide the predefined program library to the AI program in the delimited runtime environment from outside the delimited runtime environment; and - wherein the computing platform has a data management unit designed to provide the predefined vehicle sensor data to the AI program in the delimited runtime environment for classification; - wherein the computing platform provides a plurality of predefined runtime environments having a respective AI program, wherein the library management unit is designed to provide the predefined program library to the plurality of predefined runtime environments by means of shared access; - wherein the data management unit is further designed to receive result data relating to the classification of the respective AI program from the respective delimited runtime environment and to provide said data so as to control a vehicle function. - a computing apparatus which has a computing platform for artificial intelligence; - wherein the computing platform is designed to provide a respective runtime environment for at least one artificial intelligence program, AI program, wherein the AI program is designed to classify predefined vehicle sensor data; - wherein the computing platform has a library management unit, wherein the library management unit is designed to provide at least one predefined program library for the AI program; - wherein the computing platform is designed to generate the runtime environment as a delimited runtime environment within a virtual machine (22, 23, 24), wherein the predefined program library is provided outside the virtual machine (22, 23, 24); - wherein the library management unit is designed to provide the predefined program library to the AI program in the delimited runtime environment from outside the delimited runtime environment; and - wherein the computing platform has a data management unit designed to provide the predefined vehicle sensor data to the AI program in the delimited runtime environment for classification; - wherein the computing platform provides a plurality of predefined runtime environments having a respective AI program, wherein the library management unit is designed to provide the predefined program library to the plurality of predefined runtime environments by means of shared access; - wherein the data management unit is further designed to receive result data relating to the classification of the respective AI program from the respective delimited runtime environment and to provide said data so as to control a vehicle function.