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

TensorFlowSettings 构造函数

定义

重载

TensorFlowSettings()

初始化 TensorFlowSettings 类的新实例。

TensorFlowSettings(String, String, String, String, String, Nullable<Int32>, Nullable<Int32>)

初始化 TensorFlowSettings 类的新实例。

TensorFlowSettings()

初始化 TensorFlowSettings 类的新实例。

public TensorFlowSettings ();
Public Sub New ()

适用于

TensorFlowSettings(String, String, String, String, String, Nullable<Int32>, Nullable<Int32>)

初始化 TensorFlowSettings 类的新实例。

public TensorFlowSettings (string pythonScriptFilePath, string pythonInterpreterPath = default, string masterCommandLineArgs = default, string workerCommandLineArgs = default, string parameterServerCommandLineArgs = default, int? workerCount = default, int? parameterServerCount = default);
new Microsoft.Azure.Management.BatchAI.Models.TensorFlowSettings : string * string * string * string * string * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.BatchAI.Models.TensorFlowSettings
Public Sub New (pythonScriptFilePath As String, Optional pythonInterpreterPath As String = Nothing, Optional masterCommandLineArgs As String = Nothing, Optional workerCommandLineArgs As String = Nothing, Optional parameterServerCommandLineArgs As String = Nothing, Optional workerCount As Nullable(Of Integer) = Nothing, Optional parameterServerCount As Nullable(Of Integer) = Nothing)

参数

pythonScriptFilePath
String

Python 脚本文件路径。

pythonInterpreterPath
String

Python 解释器路径。

masterCommandLineArgs
String

主命令行参数。

workerCommandLineArgs
String

辅助角色命令行参数。

parameterServerCommandLineArgs
String

参数服务器命令行参数。

workerCount
Nullable<Int32>

辅助角色计数。

parameterServerCount
Nullable<Int32>

参数服务器计数。

适用于