BooleanChoiceAttribute 构造函数

定义

重载

BooleanChoiceAttribute()

创建 BooleanChoiceAttribute

BooleanChoiceAttribute(Boolean)

使用默认值创建一个 BooleanChoiceAttribute

BooleanChoiceAttribute()

Source:
BoolearnChoiceAttribute.cs
Source:
BoolearnChoiceAttribute.cs
Source:
BoolearnChoiceAttribute.cs
public BooleanChoiceAttribute();
Public Sub New ()

适用于

BooleanChoiceAttribute(Boolean)

Source:
BoolearnChoiceAttribute.cs
Source:
BoolearnChoiceAttribute.cs
Source:
BoolearnChoiceAttribute.cs

使用默认值创建一个 BooleanChoiceAttribute

public BooleanChoiceAttribute(bool defaultValue);
new Microsoft.ML.SearchSpace.BooleanChoiceAttribute : bool -> Microsoft.ML.SearchSpace.BooleanChoiceAttribute
Public Sub New (defaultValue As Boolean)

参数

defaultValue
Boolean

此选项的默认值。

适用于