photo

Alim


Last seen: Today Active since 2023

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


dlgradient throws Value to differentiate is non-scalar. It must be a traced real dlarray scalar.error
Hi everyone, With dfleval I call a function with which I do a number of computations. I need to calculate few gradients within...

8 maanden ago | 1 answer | 0

1

answer

Answered
Hi, everyone! dlgradient throws an error message as Undefined function 'dlgradient' for input arguments of type 'cell'.
Problem solved. batch variable in the code above needs to be wrapped into dlarray.

8 maanden ago | 0

| accepted

Question


Hi, everyone! dlgradient throws an error message as Undefined function 'dlgradient' for input arguments of type 'cell'.
I am new to NN tools and functions in MatLab, so probably there is a simple mistake I am doing. I have the the code that follows...

8 maanden ago | 1 answer | 0

1

answer