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;