getIntArrayWithShape

fun <ERROR CLASS>.getIntArrayWithShape(index: Int): <ERROR CLASS><IntArray, LongArray>

Returns the output at index as an IntArray with its shape.

fun <ERROR CLASS>.getIntArrayWithShape(name: String): <ERROR CLASS><IntArray, LongArray>

Returns the output by name as an IntArray with its shape.