getDoubleArrayWithShape

fun <ERROR CLASS>.getDoubleArrayWithShape(index: Int): <ERROR CLASS><DoubleArray, LongArray>

Returns the output at index as a DoubleArray with its shape.

fun <ERROR CLASS>.getDoubleArrayWithShape(name: String): <ERROR CLASS><DoubleArray, LongArray>

Returns the output by name as a DoubleArray with its shape.