BuilderExtensions.FromFile Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String) |
Agrega el modelo en el archivo especificado al generador. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean) |
Agrega el modelo en el archivo especificado al generador. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String) |
Agrega el modelo en el archivo especificado al generador. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean) |
Agrega el modelo en el archivo especificado al generador. |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)
Agrega el modelo en el archivo especificado al generador.
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
Generador al que se va a agregar el modelo.
- filePath
- String
Ubicación del modelo.
Devoluciones
PredictionEnginePoolBuilder<TData,TPrediction> actualizado.
Se aplica a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)
Agrega el modelo en el archivo especificado al generador.
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
Generador al que se va a agregar el modelo.
- filePath
- String
Ubicación del modelo.
- watchForChanges
- Boolean
Si se deben observar los cambios en la ruta de acceso del archivo y actualizar el modelo cuando se cambia o no el archivo.
Devoluciones
PredictionEnginePoolBuilder<TData,TPrediction> actualizado.
Se aplica a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)
Agrega el modelo en el archivo especificado al generador.
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
Generador al que se va a agregar el modelo.
- modelName
- String
Nombre del modelo que permite identificar de forma única el modelo cuando varios modelos tienen los mismos TData
tipos y TPrediction
.
- filePath
- String
Ubicación del modelo.
Devoluciones
PredictionEnginePoolBuilder<TData,TPrediction> actualizado.
Se aplica a
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)
Agrega el modelo en el archivo especificado al generador.
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
Generador al que se va a agregar el modelo.
- modelName
- String
Nombre del modelo que permite identificar de forma única el modelo cuando varios modelos tienen los mismos TData
tipos y TPrediction
.
- filePath
- String
Ubicación del modelo.
- watchForChanges
- Boolean
Si se deben observar los cambios en la ruta de acceso del archivo y actualizar el modelo cuando se cambia o no el archivo.
Devoluciones
PredictionEnginePoolBuilder<TData,TPrediction> actualizado.