docs-devsite/ai.hybridparams.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Configures hybrid inference.
<b>Signature:</b>
export interface HybridParams
| Property | Type | Description |
|---|---|---|
| inCloudParams | ModelParams | <b><i>(Public Preview)</i></b> Optional. Specifies advanced params for in-cloud inference. |
| mode | InferenceMode | <b><i>(Public Preview)</i></b> Specifies on-device or in-cloud inference. Defaults to prefer on-device. |
| onDeviceParams | OnDeviceParams | <b><i>(Public Preview)</i></b> Optional. Specifies advanced params for on-device inference. |
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Optional. Specifies advanced params for in-cloud inference.
<b>Signature:</b>
inCloudParams?: ModelParams;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Specifies on-device or in-cloud inference. Defaults to prefer on-device.
<b>Signature:</b>
mode: InferenceMode;
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Optional. Specifies advanced params for on-device inference.
<b>Signature:</b>
onDeviceParams?: OnDeviceParams;