Error in dlarray function

Hi,
I keep on receiving this message everytime I have tried to use dlarray function. For e.g. for a simple code as
numFeatures = 10;
numObservations = 32;
sequenceLength = 64;
X = dlarray(randn(numFeatures,numObservations,sequenceLength), 'CBT');
I always get this message;
Check for missing argument or incorrect argument data type in call to function 'dropTrailingODims'.
However, if I tried to use a built-in code (like using live script for an example that uses dlarray), it seems to be working fine.
I am using r2020a by the way.
Thanks

2 个评论

do you solve this quetion?
Nope and no help either yet.

请先登录,再进行评论。

回答(1 个)

Raynier Suresh
Raynier Suresh 2021-2-16

0 个投票

Hi, I am unable to reproduce this at my end. It would be useful for investigation if you can provide the entire workflow and the complete error message.

类别

在 帮助中心 和 File Exchange 中查找有关 Custom Training Using Automatic Differentiation 的更多信息

提问:

BR
2020-6-5

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by