NetMeasurements
NetMeasurements[net, data, measurement] computes the requested measurement for the net evaluated on data.
NetMeasurements[net, data, {mspec1, mspec2, ...}]computes a list of measurements for the net evaluated on data.
Examples
NetMeasurements[trainedNet, testData, "Accuracy"]Please visit the official Wolfram Language Reference for more details.