InferenceOutput.GetData 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.
A byte array that holds input data.
[Android.Runtime.Register("getData", "()[B", "", ApiSince=36)]
public byte[] GetData();
[<Android.Runtime.Register("getData", "()[B", "", ApiSince=36)>]
member this.GetData : unit -> byte[]
Returns
- Attributes
Remarks
A byte array that holds input data. The inputs should be in the same order as inputs of the model.
For LiteRT, this field is a serialized Map<Integer, Object> that is mapped to outputs of runForMultipleInputsOutputs: https://www.tensorflow.org/lite/api_docs/java/org/tensorflow/lite/InterpreterApi#parameters_9
For ExecuTorch model, this field is a serialized EValue array.
Java documentation for android.adservices.ondevicepersonalization.InferenceOutput.getData()
.
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.