Parameter.FromBool(Boolean) 方法

定义

从值创建一个ParameterBooleanParameterType将是 Bool

public static Microsoft.ML.SearchSpace.Parameter FromBool (bool value);
static member FromBool : bool -> Microsoft.ML.SearchSpace.Parameter
Public Shared Function FromBool (value As Boolean) As Parameter

参数

value
Boolean

返回

Parameter

适用于