Język

InferenceOutput.Builder.SetDataOutputs Method

Definition

Note: use InferenceOutput.Builder.setData(byte[]) instead.

[Android.Runtime.Register("setDataOutputs", "(Ljava/util/Map;)Landroid/adservices/ondevicepersonalization/InferenceOutput$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.InferenceOutput.Builder SetDataOutputs(System.Collections.Generic.IDictionary<Java.Lang.Integer,Java.Lang.Object> value);
[<Android.Runtime.Register("setDataOutputs", "(Ljava/util/Map;)Landroid/adservices/ondevicepersonalization/InferenceOutput$Builder;", "", ApiSince=35)>]
member this.SetDataOutputs : System.Collections.Generic.IDictionary<Java.Lang.Integer, Java.Lang.Object> -> Android.AdServices.OnDevicePersonalization.InferenceOutput.Builder

Parameters

value
IDictionary<Integer,Object>

A map from model output index to output value.

Returns

This builder, with the output map assigned.

Attributes

Remarks

Note: use InferenceOutput.Builder.setData(byte[]) instead.

A map mapping output indices to multidimensional arrays of output.

For TFLite, this field is mapped to outputs of runForMultipleInputsOutputs: https://www.tensorflow.org/lite/api_docs/java/org/tensorflow/lite/InterpreterApi#parameters_9

Android reference for android.adservices.ondevicepersonalization.InferenceOutput.Builder.setDataOutputs.

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