TensorFlowModel 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此課程包含與 TensorFlow 模型及會話相關的資訊。 它提供了一些方便的方法來查詢模型結構以及物件建立 TensorFlowEstimator 。
public sealed class TensorFlowModel : IDisposable
public sealed class TensorFlowModel
type TensorFlowModel = class
interface IDisposable
type TensorFlowModel = class
Public NotInheritable Class TensorFlowModel
Implements IDisposable
Public NotInheritable Class TensorFlowModel
- 繼承
-
TensorFlowModel
- 實作
方法
| 名稱 | Description |
|---|---|
| Dispose() |
此課程包含與 TensorFlow 模型及會話相關的資訊。 它提供了一些方便的方法來查詢模型結構以及物件建立 TensorFlowEstimator 。 |
| GetInputSchema() |
只取得 DataViewSchema 那些在 TensorFlow 模型中標記為「占位符」的節點。 當 TensorFlow 圖非常大時,此方法方便於探索模型輸入。 |
| GetModelSchema() |
取得 DataViewSchema 完整的模型。 TensorFlow 模型中的每個節點都會包含在物件中 DataViewSchema 。 |
| ScoreTensorFlowModel(String, String, Boolean) |
使用預先訓練的 TensorFlow 模型對資料集進行評分。 |
| ScoreTensorFlowModel(String[], String[], Boolean) |
使用預先訓練的 TensorFlow 模型對資料集進行評分。 |