Artificial intelligence applications have been growing in the recent years due to its application
solving complex problems. There are a lot of different models that can be used for a wide variety
of applications. One of the most common AI models is SSDMobineNetV2, which can be used for
object detection. In the lab4variables.mat file you will find the results of five different boards
running an SSDMobileNetV2 model tested with 15,000 inferences. The board names, inferences
per second and average power consumption of each board are organized by index number in the
arrays from the lab4variables.mat file. Use this file and make a function script to calculate the
inferences per joule produced by every board. Once you have them print the name of the board
and the inferences per joule generated by them. For the lab name use getInferencesPerJoule There
shouldn’t be inputs in the function and the output of the function must be an array with the
inferences per joule calculated. Also, the function must output a table with four columns showing
the boards name, inferences per second, watts and inferences per joule.
Code hint:
Function inferencesPerJoule = getInferencesPerJoule()
% inputs: none
%outputs:
%inferencesPerJoule: array containing the results calculated