ChoiceAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ChoiceAttribute(Object[]) |
使用 ChoiceAttribute |
| ChoiceAttribute(Object[], Object) |
创建 ChoiceAttribute with |
ChoiceAttribute(Object[])
- Source:
- ChoiceAttribute.cs
- Source:
- ChoiceAttribute.cs
- Source:
- ChoiceAttribute.cs
使用 ChoiceAttributecandidates..
public ChoiceAttribute(params object[] candidates);
new Microsoft.ML.SearchSpace.ChoiceAttribute : obj[] -> Microsoft.ML.SearchSpace.ChoiceAttribute
Public Sub New (ParamArray candidates As Object())
参数
- candidates
- Object[]
适用于
ChoiceAttribute(Object[], Object)
- Source:
- ChoiceAttribute.cs
- Source:
- ChoiceAttribute.cs
- Source:
- ChoiceAttribute.cs
创建 ChoiceAttribute with candidates 和 defaultValue.
public ChoiceAttribute(object[] candidates, object defaultValue);
new Microsoft.ML.SearchSpace.ChoiceAttribute : obj[] * obj -> Microsoft.ML.SearchSpace.ChoiceAttribute
Public Sub New (candidates As Object(), defaultValue As Object)
参数
- candidates
- Object[]
- defaultValue
- Object