InferenceInput.Builder.SetExpectedOutputStructure(InferenceOutput) 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.
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
- value
- InferenceOutput
An empty inference output that describes the structure of the expected model output.
Returns
This builder, with the expected output structure assigned.
- 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.
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.