|
|
@@ -42,8 +42,6 @@ namespace Tensorflow |
|
|
|
{ |
|
|
|
if (src.Length == 0) return; |
|
|
|
|
|
|
|
size = size * (ulong)sizeof(T); |
|
|
|
|
|
|
|
fixed (void* p = &src[0]) |
|
|
|
System.Buffer.MemoryCopy(p, dst.ToPointer(), size, size); |
|
|
|
} |
|
|
@@ -53,8 +51,6 @@ namespace Tensorflow |
|
|
|
{ |
|
|
|
if (src.Length == 0) return; |
|
|
|
|
|
|
|
size = size * sizeof(T); |
|
|
|
|
|
|
|
fixed (void* p = &src[0]) |
|
|
|
System.Buffer.MemoryCopy(p, dst.ToPointer(), size, size); |
|
|
|
} |
|
|
|