Parameter.FromEnum<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a Parameter from a Enum value. The ParameterType will be String.
public static Microsoft.ML.SearchSpace.Parameter FromEnum<T> (T value) where T : struct;
static member FromEnum : 'T -> Microsoft.ML.SearchSpace.Parameter (requires 'T : struct)
Public Shared Function FromEnum(Of T As Structure) (value As T) As Parameter
Type Parameters
- T
Parameters
- value
- T