getByteArrayWithShape

fun <ERROR CLASS>.getByteArrayWithShape(index: Int): <ERROR CLASS><ByteArray, LongArray>

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

fun <ERROR CLASS>.getByteArrayWithShape(name: String): <ERROR CLASS><ByteArray, LongArray>

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