InferenceInput.Builder.SetInputData 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.
Overloads
| Name | Description |
|---|---|
| SetInputData(Object[]) |
Note: use InferenceInput.Builder.setInputData(byte[]) instead. |
| SetInputData(Byte[]) |
A byte array that holds input data. |
SetInputData(Object[])
Note: use InferenceInput.Builder.setInputData(byte[]) instead.
[Android.Runtime.Register("setInputData", "([Ljava/lang/Object;)Landroid/adservices/ondevicepersonalization/InferenceInput$Builder;", "", ApiSince=35)]
public Android.AdServices.OnDevicePersonalization.InferenceInput.Builder SetInputData(params Java.Lang.Object[] value);
[<Android.Runtime.Register("setInputData", "([Ljava/lang/Object;)Landroid/adservices/ondevicepersonalization/InferenceInput$Builder;", "", ApiSince=35)>]
member this.SetInputData : Java.Lang.Object[] -> Android.AdServices.OnDevicePersonalization.InferenceInput.Builder
Parameters
- value
- Object[]
Returns
- Attributes
Remarks
Note: use InferenceInput.Builder.setInputData(byte[]) instead.
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
SetInputData(Byte[])
A byte array that holds input data.
[Android.Runtime.Register("setInputData", "([B)Landroid/adservices/ondevicepersonalization/InferenceInput$Builder;", "", ApiSince=36)]
public Android.AdServices.OnDevicePersonalization.InferenceInput.Builder SetInputData(byte[] value);
[<Android.Runtime.Register("setInputData", "([B)Landroid/adservices/ondevicepersonalization/InferenceInput$Builder;", "", ApiSince=36)>]
member this.SetInputData : byte[] -> Android.AdServices.OnDevicePersonalization.InferenceInput.Builder
Parameters
- value
- Byte[]
Returns
- Attributes
Remarks
A byte array that holds input data. The inputs should be in the same order as inputs of the model.
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.