copyArray

fun DoubleTensor.copyArray(): DoubleArray

Returns a copy-protected DoubleArray of tensor elements


fun IntTensor.copyArray(): IntArray

Returns a copy-protected IntArray of tensor elements