Share via


VBufferEditor<T>.Commit Method

Definition

Commits the edits and creates a new VBuffer<T> using the current Values and Indices. Note that this structure and its properties should not be used once this is called.

public Microsoft.ML.Data.VBuffer<T> Commit ();
member this.Commit : unit -> Microsoft.ML.Data.VBuffer<'T>
Public Function Commit () As VBuffer(Of T)

Returns

The newly created VBuffer<T>.

Applies to