Język

InferenceInput.Builder.SetExpectedOutputStructure(InferenceOutput) Method

Definition

The empty InferenceOutput representing the expected output structure.

[Android.Runtime.Register("setExpectedOutputStructure", "(Landroid/adservices/ondevicepersonalization/InferenceOutput;)Landroid/adservices/ondevicepersonalization/InferenceInput$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.InferenceInput.Builder SetExpectedOutputStructure(Android.AdServices.OnDevicePersonalization.InferenceOutput value);
[<Android.Runtime.Register("setExpectedOutputStructure", "(Landroid/adservices/ondevicepersonalization/InferenceOutput;)Landroid/adservices/ondevicepersonalization/InferenceInput$Builder;", "", ApiSince=35)>]
member this.SetExpectedOutputStructure : Android.AdServices.OnDevicePersonalization.InferenceOutput -> Android.AdServices.OnDevicePersonalization.InferenceInput.Builder

Parameters

Returns

Attributes

Remarks

The empty InferenceOutput representing the expected output structure. It's only required by LiteRT model. For LiteRT, the inference code will verify whether this expected output structure matches model output signature.

Android reference for android.adservices.ondevicepersonalization.InferenceInput.Builder.setExpectedOutputStructure.

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.

Applies to