fromIntArray

fun <T : DType, V> fromIntArray(data: IntArray, dtype: T): TensorData<T, V>(source)

Creates a tensor from int array with specified data type.


open override fun <T : DType, V> fromIntArray(shape: Shape, dtype: KClass<T>, data: IntArray): TensorData<T, V>(source)