Share via


FormRecognizerModelFactory.CustomFormSubmodel Method

Definition

Initializes a new instance of the CustomFormSubmodel class.

public static Azure.AI.FormRecognizer.Training.CustomFormSubmodel CustomFormSubmodel (string formType, float? accuracy, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.FormRecognizer.Training.CustomFormModelField> fields, string modelId);
static member CustomFormSubmodel : string * Nullable<single> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.FormRecognizer.Training.CustomFormModelField> * string -> Azure.AI.FormRecognizer.Training.CustomFormSubmodel
Public Shared Function CustomFormSubmodel (formType As String, accuracy As Nullable(Of Single), fields As IReadOnlyDictionary(Of String, CustomFormModelField), modelId As String) As CustomFormSubmodel

Parameters

formType
String

The type of form this submodel recognizes.

accuracy
Nullable<Single>

The mean of the accuracies of this model's CustomFormModelField instances.

fields
IReadOnlyDictionary<String,CustomFormModelField>

A dictionary of the fields that this submodel will recognize from the input document.

modelId
String

he unique identifier of the submodel.

Returns

A new CustomFormSubmodel instance for mocking.

Applies to