BuilderExtensions.FromUri 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)
將位於指定位置的模型加入至產生器。
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string uri) where TData : class where TPrediction : class, new();
static member FromUri : 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), uri As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)
類型參數
- TData
- TPrediction
參數
要加入模型的產生器。
- uri
- String
模型的位置。
傳回
更新的 PredictionEnginePoolBuilder<TData,TPrediction>。
適用於
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)
將指定位置的具名模型加入至產生器。
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string uri) where TData : class where TPrediction : class, new();
static member FromUri : 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)
類型參數
- TData
- TPrediction
參數
要加入模型的產生器。
- modelName
- String
當多個模型具有相同 TData
的 和 TPrediction
類型時,模型的名稱允許唯一識別模型。
- uri
- String
模型的位置。
傳回
更新的 PredictionEnginePoolBuilder<TData,TPrediction>。
適用於
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, TimeSpan)
將位於指定位置的模型加入至產生器。
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string uri, TimeSpan period) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * TimeSpan -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), uri As String, period As TimeSpan) As PredictionEnginePoolBuilder(Of TData, TPrediction)
類型參數
- TData
- TPrediction
參數
要加入模型的產生器。
- uri
- String
模型的位置。
- period
- TimeSpan
查詢模型是否已在指定位置更新的頻率。
傳回
更新的 PredictionEnginePoolBuilder<TData,TPrediction>。
適用於
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri)
將指定位置的具名模型加入至產生器。
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, Uri uri) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * Uri -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As Uri) As PredictionEnginePoolBuilder(Of TData, TPrediction)
類型參數
- TData
- TPrediction
參數
要加入模型的產生器。
- modelName
- String
當多個模型具有相同 TData
的 和 TPrediction
類型時,模型的名稱允許唯一識別模型。
- uri
- Uri
模型的位置。
傳回
更新的 PredictionEnginePoolBuilder<TData,TPrediction>。
適用於
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, TimeSpan)
將指定位置的具名模型加入至產生器。
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string uri, TimeSpan period) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * string * TimeSpan -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As String, period As TimeSpan) As PredictionEnginePoolBuilder(Of TData, TPrediction)
類型參數
- TData
- TPrediction
參數
要加入模型的產生器。
- modelName
- String
當多個模型具有相同 TData
的 和 TPrediction
類型時,模型的名稱允許唯一識別模型。
- uri
- String
模型的位置。
- period
- TimeSpan
查詢模型是否已在指定位置更新的頻率。
傳回
更新的 PredictionEnginePoolBuilder<TData,TPrediction>。
適用於
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri, TimeSpan)
將指定位置的具名模型加入至產生器。
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, Uri uri, TimeSpan period) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * Uri * TimeSpan -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As Uri, period As TimeSpan) As PredictionEnginePoolBuilder(Of TData, TPrediction)
類型參數
- TData
- TPrediction
參數
要加入模型的產生器。
- modelName
- String
當多個模型具有相同 TData
的 和 TPrediction
類型時,模型的名稱允許唯一識別模型。
- uri
- Uri
模型的位置。
- period
- TimeSpan
查詢模型是否已在指定位置更新的頻率。
傳回
更新的 PredictionEnginePoolBuilder<TData,TPrediction>。