convertTensorToMultiDimArray

fun Tensor<*>.convertTensorToMultiDimArray(): Array<*>

Copies tensor to multidimensional float array. Array rank is equal to tensor rank.