Method Upload
Upload<T>(NativeArray<T>, int, int)
Uploads a contiguous block of tensor data to internal storage.
Declaration
public void Upload<T>(NativeArray<T> data, int srcCount, int srcOffset = 0) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
NativeArray<T> | data | The data to upload. |
int | srcCount | The number of elements to upload. |
int | srcOffset | The index of the first data element to upload. |
Type Parameters
Name | Description |
---|---|
T | The type of data to upload. |