BuilderExtensions.FromFile Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String) |
Aggiunge il modello nel file specificato al generatore. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean) |
Aggiunge il modello nel file specificato al generatore. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String) |
Aggiunge il modello nel file specificato al generatore. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean) |
Aggiunge il modello nel file specificato al generatore. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
Aggiunge il modello nel file specificato al generatore.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction>(this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string filePath) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), filePath As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Parametri di tipo
- TData
- TPrediction
Parametri
Generatore a cui aggiungere il modello.
- filePath
- String
Posizione del modello.
Restituisce
Classe PredictionEnginePoolBuilder<TData,TPrediction> aggiornata.
Si applica a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
Aggiunge il modello nel file specificato al generatore.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction>(this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string filePath, bool watchForChanges) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * bool -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), filePath As String, watchForChanges As Boolean) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Parametri di tipo
- TData
- TPrediction
Parametri
Generatore a cui aggiungere il modello.
- filePath
- String
Posizione del modello.
- watchForChanges
- Boolean
Indica se controllare le modifiche apportate al percorso del file e aggiornare il modello quando il file viene modificato o meno.
Restituisce
Classe PredictionEnginePoolBuilder<TData,TPrediction> aggiornata.
Si applica a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
Aggiunge il modello nel file specificato al generatore.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction>(this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string filePath) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * string -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, filePath As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Parametri di tipo
- TData
- TPrediction
Parametri
Generatore a cui aggiungere il modello.
- modelName
- String
Nome del modello che consente di identificare in modo univoco il modello quando più modelli hanno gli stessi TData
tipi e TPrediction
.
- filePath
- String
Posizione del modello.
Restituisce
Classe PredictionEnginePoolBuilder<TData,TPrediction> aggiornata.
Si applica a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
- Origine:
- BuilderExtensions.cs
Aggiunge il modello nel file specificato al generatore.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction>(this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string filePath, bool watchForChanges) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * string * bool -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, filePath As String, watchForChanges As Boolean) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Parametri di tipo
- TData
- TPrediction
Parametri
Generatore a cui aggiungere il modello.
- modelName
- String
Nome del modello che consente di identificare in modo univoco il modello quando più modelli hanno gli stessi TData
tipi e TPrediction
.
- filePath
- String
Posizione del modello.
- watchForChanges
- Boolean
Indica se controllare le modifiche apportate al percorso del file e aggiornare il modello quando il file viene modificato o meno.
Restituisce
Classe PredictionEnginePoolBuilder<TData,TPrediction> aggiornata.