다음을 통해 공유


CustomVisionTrainingClientExtensions.GetImagePerformanceCountAsync Method

Definition

Gets the number of images tagged with the provided {tagIds} that have prediction results from training for the provided iteration {iterationId}.

public static System.Threading.Tasks.Task<int?> GetImagePerformanceCountAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, Guid iterationId, System.Collections.Generic.IList<Guid> tagIds = default, System.Threading.CancellationToken cancellationToken = default);
static member GetImagePerformanceCountAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * Guid * System.Collections.Generic.IList<Guid> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Nullable<int>>
<Extension()>
Public Function GetImagePerformanceCountAsync (operations As ICustomVisionTrainingClient, projectId As Guid, iterationId As Guid, Optional tagIds As IList(Of Guid) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Nullable(Of Integer))

Parameters

operations
ICustomVisionTrainingClient

The operations group for this extension method.

projectId
Guid

The project id.

iterationId
Guid

The iteration id. Defaults to workspace.

tagIds
IList<Guid>

A list of tags ids to filter the images to count. Defaults to all tags when null.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned

Applies to