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

PyTorchSettings.CommunicationBackend 属性

定义

获取或设置通信后端。

[Newtonsoft.Json.JsonProperty(PropertyName="communicationBackend")]
public string CommunicationBackend { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="communicationBackend")>]
member this.CommunicationBackend : string with get, set
Public Property CommunicationBackend As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

分布式作业的通信后端的类型。 有效值为“TCP”、“Gloo”或“MPI”。 非分布式作业不需要。

适用于