¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Can anyone please explain why this exception has been occured?
1 Respuesta
+ 2
You're passing two individual arrays to the parameter b. Encapsulate them in another set of square brackets like this:
([[5, 6], [7, 8]])
This will make it a 2D array.