What's fid in "Training a Model from Scratch"?
Show older comments
What's the 'fid' in the first code block?
rawImgDataTrain = uint8 (fread(fid, numImg * numRows * numCols, 'uint8'));
% Reshape the data part into a 4D array
rawImgDataTrain = reshape(rawImgDataTrain, [numRows, numCols, numImgs]);
imgDataTrain(:,:,1,ii) = uint8(rawImgDataTrain(:,:,ii));
Accepted Answer
More Answers (1)
Atsushi Ueno
on 31 Jul 2022
1 vote
> What's the 'fid' in the first code block?
It is fileID — File identifier of an open file
Categories
Find more on Android Devices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!