InferenceMode' Type
This is the internal DU representing all the valid cases we support, mapped from the public InferenceMode.
Union cases
Union case | Description |
Full Usage:
NoInference
|
|
Full Usage:
ValuesAndInlineSchemasHints
|
|
Full Usage:
ValuesAndInlineSchemasOverrides
|
|
Full Usage:
ValuesOnly
|
Static members
Static member | Description |
Full Usage:
InferenceMode'.FromPublicApi(inferenceMode, ?legacyInferTypesFromValues)
Parameters:
InferenceMode
?legacyInferTypesFromValues : bool
Returns: InferenceMode'
|
Converts from the public api enum with backward compat to the internal representation with only valid cases. If the user sets InferenceMode manually (to a value other than BackwardCompatible) then the legacy InferTypesFromValues is ignored. Otherwise (when set to BackwardCompatible), inference mode is set to a compatible value.
|