LargePersonGroupOperationsExtensions.TrainAsync Method

Definition

Queue a large person group training task, the training task may not be started immediately.

public static System.Threading.Tasks.Task TrainAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupOperations operations, string largePersonGroupId, System.Threading.CancellationToken cancellationToken = default);
static member TrainAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ILargePersonGroupOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function TrainAsync (operations As ILargePersonGroupOperations, largePersonGroupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ILargePersonGroupOperations

The operations group for this extension method.

largePersonGroupId
String

Id referencing a particular large person group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to