Aracılığıyla paylaş


VBufferEditor.CreateFromBuffer<T>(VBuffer<T>) Yöntem

Tanım

ile aynı şekle (uzunluk ve yoğunluk) destinationsahip bir VBufferEditor<T> oluşturur.

public static Microsoft.ML.Data.VBufferEditor<T> CreateFromBuffer<T>(scoped ref Microsoft.ML.Data.VBuffer<T> destination);
public static Microsoft.ML.Data.VBufferEditor<T> CreateFromBuffer<T>(ref Microsoft.ML.Data.VBuffer<T> destination);
static member CreateFromBuffer : VBuffer -> Microsoft.ML.Data.VBufferEditor<'T>
Public Shared Function CreateFromBuffer(Of T) (ByRef destination As VBuffer(Of T)) As VBufferEditor(Of T)

Tür Parametreleri

T

Parametreler

destination
VBuffer<T>

Hedef arabellek. Elde edilen sonucun VBufferEditor<T> geçirilen nesnenin sahipliğini aldığı varsayılır ve bu nedenle bu parametre olarak geçirilen her şey VBuffer<T> yeniden kullanılmamalıdır, çünkü temel arabellekleri potansiyel olarak yeniden kullanılıyordur.

Döndürülenler

Şunlara uygulanır