function out = predictBlock(blockStruct,trainedNet)
% Use predict() on the trained network to compute probability of current
% block being "Tumor".

% Copyright 2019-2021 The MathWorks, Inc.

probScores = predict(trainedNet,blockStruct.Data);
out = probScores(:,2);
out = out';
