共用方式為


TensorFlowModel 類別

定義

這個類別會保存 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
實作

方法

Dispose()

這個類別會保存 TensorFlow 模型和會話的相關資訊。 它提供一些方便的方法來查詢模型架構,以及建立 TensorFlowEstimator 物件。

GetInputSchema()

DataViewSchema僅適用于 TensorFlow 模型中標示為「預留位置」的節點。 如果 TensorFlow 圖表非常大,此方法就方便探索模型輸入 () 。

GetModelSchema()

取得 DataViewSchema 完整模型。 TensorFlow 模型中的每個節點都會包含在 物件中 DataViewSchema

ScoreTensorFlowModel(String, String, Boolean)

使用預先定型 的 TensorFlow 模型為資料集評分。

ScoreTensorFlowModel(String[], String[], Boolean)

使用預先定型的 TensorFlow 模型為資料集評分。

適用於