Firebase 機械学習。
機能
関数 | 説明 |
---|---|
getMachineLearning(アプリ) | デフォルトのアプリまたは指定されたアプリのMachineLearningサービスを取得します。 getMachineLearning() 引数なしで呼び出してデフォルト アプリのMachineLearning サービスにアクセスすることも、 getMachineLearning(app) として呼び出して特定のアプリに関連付けられたMachineLearning サービスにアクセスすることもできます。 |
クラス
クラス | 説明 |
---|---|
機械学習 | Firebase MachineLearning サービス インターフェイス。 |
モデル | Firebase ML モデル出力オブジェクト。 |
インターフェース
インターフェース | 説明 |
---|---|
GcsTfliteModelOptions | |
リストモデルオプション | モデルをリストするためのオプションを表すインターフェイス。 |
リストモデル結果 | listModels 操作の応答オブジェクト。 |
モデルオプションベース | Firebase ML モデル入力オブジェクト |
TFLiteモデル | TensorFlow Lite モデル出力オブジェクト |
タイプエイリアス
タイプエイリアス | 説明 |
---|---|
モデルオプション |
getMachineLearning()
デフォルトのアプリまたは指定されたアプリのMachineLearningサービスを取得します。
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() 引数なしで呼び出してデフォルト アプリのMachineLearning サービスにアクセスすることも、 getMachineLearning(app) として呼び出して特定のアプリに関連付けられたMachineLearning サービスにアクセスすることもできます。 |
クラス
クラス | 説明 |
---|---|
機械学習 | Firebase MachineLearning サービス インターフェイス。 |
モデル | Firebase ML モデル出力オブジェクト。 |
インターフェース
インターフェース | 説明 |
---|---|
GcsTfliteModelOptions | |
リストモデルオプション | モデルをリストするためのオプションを表すインターフェイス。 |
リストモデル結果 | listModels 操作の応答オブジェクト。 |
モデルオプションベース | Firebase ML モデル入力オブジェクト |
TFLiteモデル | TensorFlow Lite モデル出力オブジェクト |
タイプエイリアス
タイプエイリアス | 説明 |
---|---|
モデルオプション |
getMachineLearning()
デフォルトのアプリまたは指定されたアプリのMachineLearningサービスを取得します。
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() 引数なしで呼び出してデフォルト アプリのMachineLearning サービスにアクセスすることも、 getMachineLearning(app) として呼び出して特定のアプリに関連付けられたMachineLearning サービスにアクセスすることもできます。 |
クラス
クラス | 説明 |
---|---|
機械学習 | Firebase MachineLearning サービス インターフェイス。 |
モデル | Firebase ML モデル出力オブジェクト。 |
インターフェース
インターフェース | 説明 |
---|---|
GcsTfliteModelOptions | |
リストモデルオプション | モデルをリストするためのオプションを表すインターフェイス。 |
リストモデル結果 | listModels 操作の応答オブジェクト。 |
モデルオプションベース | Firebase ML モデル入力オブジェクト |
TFLiteモデル | TensorFlow Lite モデル出力オブジェクト |
タイプエイリアス
タイプエイリアス | 説明 |
---|---|
モデルオプション |
getMachineLearning()
デフォルトのアプリまたは指定されたアプリのMachineLearningサービスを取得します。
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;