Release the connection to the target device
release releases the connection to the target board.
dlhdl.Target object that has an Ethernet interface and
hTarget = dlhdl.Target('Xilinx','Interface','Ethernet','IPAddress','192.168.1.101');
dlhdl.Workflow object and deploy the object to the
snet = alexnet; hW = dlhdl.Workflow('Network',snet,'BitstreamName','zcu102_single', 'Target', hTarget); hW.deploy;
Obtain a prediction.
Use this image to run the code:
% Load input images and resize them according to the network specifications image = imread('zebra.jpeg'); inputImg = imresize(image, [227, 227]); imshow(inputImg); % Predict the outcome and optionally profile the results to measure performance. [prediction, speed] = hW.predict(single(inputImg), 'Profile', 'on' );
Release the connection.