IsolatedService.GetModelManager(RequestToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an ModelManager
for the current request.
[Android.Runtime.Register("getModelManager", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/ModelManager;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.ModelManager GetModelManager (Android.AdServices.OnDevicePersonalization.RequestToken requestToken);
[<Android.Runtime.Register("getModelManager", "(Landroid/adservices/ondevicepersonalization/RequestToken;)Landroid/adservices/ondevicepersonalization/ModelManager;", "", ApiSince=35)>]
member this.GetModelManager : Android.AdServices.OnDevicePersonalization.RequestToken -> Android.AdServices.OnDevicePersonalization.ModelManager
Parameters
- requestToken
- RequestToken
an opaque token that identifies the current request to the service.
Returns
An ModelManager
that can be used for model inference.
- Attributes
Remarks
Returns an ModelManager
for the current request. The ModelManager
can be used to do model inference. It only supports Tensorflow Lite model inference now.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.