fromByteArray

fun <T : DType, V> fromByteArray(data: ByteArray, dtype: T): TensorData<T, V>(source)

Creates a tensor from byte array data for various data types.


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