public void Copy(Tensor result, Tensor src) { if (result.ElementCount() != src.ElementCount()) { throw new InvalidOperationException("Tensors must have equal numbers of elements"); } NativeWrapper.Invoke(copy_func, result, src); }
public void Copy(Tensor result, Tensor src) { if (result.ElementCount() != src.ElementCount()) { throw new InvalidOperationException("Tensors must have equal numbers of elements"); } NativeWrapper.Invoke(copy_func, result, src); }