RangeAttribute 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
RangeAttribute(Double, Double, Boolean)
public RangeAttribute (double min, double max, bool logBase = false);
new Microsoft.ML.SearchSpace.RangeAttribute : double * double * bool -> Microsoft.ML.SearchSpace.RangeAttribute
Public Sub New (min As Double, max As Double, Optional logBase As Boolean = false)
參數
- min
- Double
- max
- Double
- logBase
- Boolean
適用於
RangeAttribute(Int32, Int32, Boolean)
RangeAttribute(Single, Single, Boolean)
public RangeAttribute (float min, float max, bool logBase = false);
new Microsoft.ML.SearchSpace.RangeAttribute : single * single * bool -> Microsoft.ML.SearchSpace.RangeAttribute
Public Sub New (min As Single, max As Single, Optional logBase As Boolean = false)
參數
- min
- Single
- max
- Single
- logBase
- Boolean
適用於
RangeAttribute(Double, Double, Double, Boolean)
public RangeAttribute (double min, double max, double init, bool logBase = false);
new Microsoft.ML.SearchSpace.RangeAttribute : double * double * double * bool -> Microsoft.ML.SearchSpace.RangeAttribute
Public Sub New (min As Double, max As Double, init As Double, Optional logBase As Boolean = false)
參數
- min
- Double
- max
- Double
- init
- Double
- logBase
- Boolean
適用於
RangeAttribute(Int32, Int32, Int32, Boolean)
public RangeAttribute (int min, int max, int init, bool logBase = false);
new Microsoft.ML.SearchSpace.RangeAttribute : int * int * int * bool -> Microsoft.ML.SearchSpace.RangeAttribute
Public Sub New (min As Integer, max As Integer, init As Integer, Optional logBase As Boolean = false)
參數
- min
- Int32
- max
- Int32
- init
- Int32
- logBase
- Boolean
適用於
RangeAttribute(Single, Single, Single, Boolean)
public RangeAttribute (float min, float max, float init, bool logBase = false);
new Microsoft.ML.SearchSpace.RangeAttribute : single * single * single * bool -> Microsoft.ML.SearchSpace.RangeAttribute
Public Sub New (min As Single, max As Single, init As Single, Optional logBase As Boolean = false)
參數
- min
- Single
- max
- Single
- init
- Single
- logBase
- Boolean