Cellarray in a dlarray
15 views (last 30 days)
Show older comments
Valerio Spennato on 15 Apr 2021
Answered: Joss Knight on 22 Apr 2021
Hello, I have a cell array and i want to transform it in a dlarray. Is that possible?
I have to put it in dlfeval and now i have this error:
first input arguments must be a formatted dlarray...
Jan on 15 Apr 2021
This sounds, like the 1st input is not a formatted dlarray. Why does Matlab think, that this is the case? Based on the lean given information the readers have no chance to guess this.
Mahesh Taparia on 19 Apr 2021
Joss Knight on 22 Apr 2021
dlCell = cellfun(@dlarray, myCell, 'UniformOutput', false);
Find more on Custom Training Loops 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!