VBufferEditor.CreateFromBuffer<T>(VBuffer<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a VBufferEditor<T> with the same shape
(length and density) as the destination
.
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)
Type Parameters
- T
Parameters
- destination
- VBuffer<T>
The destination buffer. Note that the resulting VBufferEditor<T> is assumed to take ownership of this passed in object, and so whatever VBuffer<T> was passed in as this parameter should not be used again, since its underlying buffers are being potentially reused.
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for