BuilderExtensions.FromFile メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String) |
指定したファイルにあるモデルをビルダーに追加します。 |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean) |
指定したファイルにあるモデルをビルダーに追加します。 |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String) |
指定したファイルにあるモデルをビルダーに追加します。 |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean) |
指定したファイルにあるモデルをビルダーに追加します。 |
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)
指定したファイルにあるモデルをビルダーに追加します。
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)
型パラメーター
- TData
- TPrediction
パラメーター
モデルを追加するビルダー。
- filePath
- String
モデルの場所。
戻り値
更新された PredictionEnginePoolBuilder<TData,TPrediction>。
適用対象
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)
指定したファイルにあるモデルをビルダーに追加します。
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)
型パラメーター
- TData
- TPrediction
パラメーター
モデルを追加するビルダー。
- filePath
- String
モデルの場所。
- watchForChanges
- Boolean
ファイル パスの変更を監視し、ファイルが変更されたときにモデルを更新するかどうか。
戻り値
更新された PredictionEnginePoolBuilder<TData,TPrediction>。
適用対象
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)
指定したファイルにあるモデルをビルダーに追加します。
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)
型パラメーター
- TData
- TPrediction
パラメーター
モデルを追加するビルダー。
- modelName
- String
複数のモデルが同じTData
TPrediction
で型がある場合にモデルを一意に識別できるモデルの名前。
- filePath
- String
モデルの場所。
戻り値
更新された PredictionEnginePoolBuilder<TData,TPrediction>。
適用対象
FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)
指定したファイルにあるモデルをビルダーに追加します。
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)
型パラメーター
- TData
- TPrediction
パラメーター
モデルを追加するビルダー。
- modelName
- String
複数のモデルが同じTData
TPrediction
で型がある場合にモデルを一意に識別できるモデルの名前。
- filePath
- String
モデルの場所。
- watchForChanges
- Boolean
ファイル パスの変更を監視し、ファイルが変更されたときにモデルを更新するかどうか。
戻り値
更新された PredictionEnginePoolBuilder<TData,TPrediction>。