The example of Train Network Using Federated Learning given in MathWorks documentation is not working
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I am trying to run the example of Train Network Using Federated Learning given in the MathWorks documentation ( https://in.mathworks.com/help/deeplearning/ug/train-network-using-federated-learning.html ). But I am getting the following error:

Though it showing that Undefined function 'preprocessMiniBatch' . I have included the following function of 'preprocessMiniBatch' as given in the Mathworks documentation

Everytime I run the code I am getting this error. I am unable to understand where I am making a mistake. Someone please help me in solving this problem.
3 Comments
Walter Roberson
on 19 Dec 2023
Which MATLAB release are you using?
debojit sharma
on 20 Dec 2023
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!