你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ICustomVisionTrainingClient.GetTaggedImageCountWithHttpMessagesAsync 方法

定义

获取使用提供的 {tagIds} 标记的图像数。

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<int?>> GetTaggedImageCountWithHttpMessagesAsync (Guid projectId, Guid? iterationId = default, 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 GetTaggedImageCountWithHttpMessagesAsync : Guid * Nullable<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 GetTaggedImageCountWithHttpMessagesAsync (projectId As Guid, Optional iterationId As Nullable(Of Guid) = Nothing, 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)))

参数

projectId
Guid

项目 ID。

iterationId
Nullable<Guid>

迭代 ID。默认为工作区。

tagIds
IList<Guid>

用于筛选要计数的图像的标记 ID 的列表。 默认值为 null 时的所有标记。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

注解

筛选依据为某个字词和/或关系。 例如,如果提供的标记 ID 用于“Dog”和“Cat”标记,则仅返回标记有 Dog 和/或 Cat 的图像

适用于