BuilderExtensions.FromFile Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String) |
Adiciona o modelo no arquivo especificado ao construtor. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean) |
Adiciona o modelo no arquivo especificado ao construtor. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String) |
Adiciona o modelo no arquivo especificado ao construtor. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean) |
Adiciona o modelo no arquivo especificado ao construtor. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)
Adiciona o modelo no arquivo especificado ao construtor.
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)
Parâmetros de tipo
- TData
- TPrediction
Parâmetros
O construtor ao qual adicionar o modelo.
- filePath
- String
O local do modelo.
Retornos
O PredictionEnginePoolBuilder<TData,TPrediction> atualizado.
Aplica-se a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)
Adiciona o modelo no arquivo especificado ao construtor.
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)
Parâmetros de tipo
- TData
- TPrediction
Parâmetros
O construtor ao qual adicionar o modelo.
- filePath
- String
O local do modelo.
- watchForChanges
- Boolean
Se você deve observar as alterações no caminho do arquivo e atualizar o modelo quando o arquivo for alterado ou não.
Retornos
O PredictionEnginePoolBuilder<TData,TPrediction> atualizado.
Aplica-se a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)
Adiciona o modelo no arquivo especificado ao construtor.
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)
Parâmetros de tipo
- TData
- TPrediction
Parâmetros
O construtor ao qual adicionar o modelo.
- modelName
- String
O nome do modelo que permite identificar exclusivamente o modelo quando vários modelos têm os mesmos TData
e TPrediction
tipos.
- filePath
- String
O local do modelo.
Retornos
O PredictionEnginePoolBuilder<TData,TPrediction> atualizado.
Aplica-se a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)
Adiciona o modelo no arquivo especificado ao construtor.
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)
Parâmetros de tipo
- TData
- TPrediction
Parâmetros
O construtor ao qual adicionar o modelo.
- modelName
- String
O nome do modelo que permite identificar exclusivamente o modelo quando vários modelos têm os mesmos TData
e TPrediction
tipos.
- filePath
- String
O local do modelo.
- watchForChanges
- Boolean
Se você deve observar as alterações no caminho do arquivo e atualizar o modelo quando o arquivo for alterado ou não.
Retornos
O PredictionEnginePoolBuilder<TData,TPrediction> atualizado.