Aracılığıyla paylaş


ICustomVisionTrainingClient.GetImagePerformanceCountWithHttpMessagesAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<int?>> GetImagePerformanceCountWithHttpMessagesAsync (Guid projectId, Guid iterationId, System.Collections.Generic.IList<Guid> tagIds = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImagePerformanceCountWithHttpMessagesAsync : Guid * Guid * System.Collections.Generic.IList<Guid> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Nullable<int>>>
Public Function GetImagePerformanceCountWithHttpMessagesAsync (projectId As Guid, iterationId As Guid, Optional tagIds As IList(Of Guid) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Nullable(Of Integer)))

Parameters

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.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

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