title: How to reshape array by using kotlin like Python numpy?
body: <p>I use tensorflow lite(kotlin android) and get output like this:<code>[1,256,256,1]</code>, kotlin type is <code>Array&lt;Array&lt;Array&lt;FloatArray&gt;&gt;&gt;</code>, this output is grey-scale map, now I want get output max and min and change it to <code>[256,256]</code>, type: <code>Array&lt;FloatArray&gt;</code>, when use python numpy, it easy, how to reshape array by using kotlin/java on android? <code>foreach</code> performance is poor.</p>