InferenceOutput.Builder.SetDataOutputs 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.
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
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.