firebase-admin.machine-learning package

Firebase 機器學習。

功能

功能描述
取得機器學習(應用程式)取得預設應用程式或給定應用程式的機器學習服務。可以不帶參數呼叫getMachineLearning()來存取預設應用程式的MachineLearning服務,也可以呼叫getMachineLearning(app)來存取與特定應用程式關聯的MachineLearning服務。

課程

班級描述
機器學習Firebase MachineLearning服務介面。
模型Firebase ML 模型輸出物件。

介面

介面描述
GcsTflite模型選項
清單模型選項表示列出模型的選項的介面。
列出模型結果listModels 操作的回應物件。
模型選項庫Firebase ML 模型輸入對象
TFLite模型TensorFlow Lite 模型輸出對象

類型別名

類型別名描述
型號選項

取得機器學習()

取得預設應用程式或給定應用程式的機器學習服務。

可以不帶參數呼叫getMachineLearning()來存取預設應用程式的MachineLearning服務,也可以呼叫getMachineLearning(app)來存取與特定應用程式關聯的MachineLearning服務。

簽名:

export declare function getMachineLearning(app?: App): MachineLearning;

參數

範圍類型描述
應用程式應用程式若要返回其MachineLearning服務的可選應用程式。如果未提供,將傳回預設的MachineLearning服務。

返回:

機器學習

預設MachineLearning服務(如果未提供應用程式)或與提供的應用程式關聯的MachineLearning服務。

實施例1

// Get the MachineLearning service for the default app
const defaultMachineLearning = getMachineLearning();

實施例2

// Get the MachineLearning service for a given app
const otherMachineLearning = getMachineLearning(otherApp);

型號選項

簽名:

export type ModelOptions = ModelOptionsBase | GcsTfliteModelOptions;
,

Firebase 機器學習。

功能

功能描述
取得機器學習(應用程式)取得預設應用程式或給定應用程式的機器學習服務。可以不帶參數呼叫getMachineLearning()來存取預設應用程式的MachineLearning服務,也可以呼叫getMachineLearning(app)來存取與特定應用程式關聯的MachineLearning服務。

課程

班級描述
機器學習Firebase MachineLearning服務介面。
模型Firebase ML 模型輸出物件。

介面

介面描述
GcsTflite模型選項
清單模型選項表示列出模型的選項的介面。
列出模型結果listModels 操作的回應物件。
模型選項庫Firebase ML 模型輸入對象
TFLite模型TensorFlow Lite 模型輸出對象

類型別名

類型別名描述
型號選項

取得機器學習()

取得預設應用程式或給定應用程式的機器學習服務。

可以不帶參數呼叫getMachineLearning()來存取預設應用程式的MachineLearning服務,也可以呼叫getMachineLearning(app)來存取與特定應用程式關聯的MachineLearning服務。

簽名:

export declare function getMachineLearning(app?: App): MachineLearning;

參數

範圍類型描述
應用程式應用程式若要返回其MachineLearning服務的可選應用程式。如果未提供,將傳回預設的MachineLearning服務。

返回:

機器學習

預設MachineLearning服務(如果未提供應用程式)或與提供的應用程式關聯的MachineLearning服務。

實施例1

// Get the MachineLearning service for the default app
const defaultMachineLearning = getMachineLearning();

實施例2

// Get the MachineLearning service for a given app
const otherMachineLearning = getMachineLearning(otherApp);

型號選項

簽名:

export type ModelOptions = ModelOptionsBase | GcsTfliteModelOptions;
,

Firebase 機器學習。

功能

功能描述
取得機器學習(應用程式)取得預設應用程式或給定應用程式的機器學習服務。可以不帶參數呼叫getMachineLearning()來存取預設應用程式的MachineLearning服務,也可以呼叫getMachineLearning(app)來存取與特定應用程式關聯的MachineLearning服務。

課程

班級描述
機器學習Firebase MachineLearning服務介面。
模型Firebase ML 模型輸出物件。

介面

介面描述
GcsTflite模型選項
清單模型選項表示列出模型的選項的介面。
列出模型結果listModels 操作的回應物件。
模型選項庫Firebase ML 模型輸入對象
TFLite模型TensorFlow Lite 模型輸出對象

類型別名

類型別名描述
型號選項

取得機器學習()

取得預設應用程式或給定應用程式的機器學習服務。

可以不帶參數呼叫getMachineLearning()來存取預設應用程式的MachineLearning服務,也可以呼叫getMachineLearning(app)來存取與特定應用程式關聯的MachineLearning服務。

簽名:

export declare function getMachineLearning(app?: App): MachineLearning;

參數

範圍類型描述
應用程式應用程式返回其MachineLearning服務的可選應用程式。如果未提供,將傳回預設的MachineLearning服務。

返回:

機器學習

預設MachineLearning服務(如果未提供應用程式)或與提供的應用程式關聯的MachineLearning服務。

實施例1

// Get the MachineLearning service for the default app
const defaultMachineLearning = getMachineLearning();

實施例2

// Get the MachineLearning service for a given app
const otherMachineLearning = getMachineLearning(otherApp);

型號選項

簽名:

export type ModelOptions = ModelOptionsBase | GcsTfliteModelOptions;