getShortArrayWithShape

fun <ERROR CLASS>.getShortArrayWithShape(index: Int): <ERROR CLASS><ShortArray, LongArray>

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

fun <ERROR CLASS>.getShortArrayWithShape(name: String): <ERROR CLASS><ShortArray, LongArray>

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