Added in API level 35
Builder
class Builder
| kotlin.Any | |
| ↳ | android.adservices.ondevicepersonalization.TrainingExamplesOutput.Builder |
A builder for TrainingExamplesOutput
Summary
| Public constructors | |
|---|---|
Builder() |
|
| Public methods | |
|---|---|
| TrainingExamplesOutput.Builder | |
| TrainingExamplesOutput |
build()Builds the instance. |
| TrainingExamplesOutput.Builder |
The list of training example byte arrays. |
Public constructors
Public methods
addTrainingExampleRecord
Added in API level 35
fun addTrainingExampleRecord(value: TrainingExampleRecord): TrainingExamplesOutput.Builder
| Parameters | |
|---|---|
value |
TrainingExampleRecord: This value cannot be null. |
| Return | |
|---|---|
TrainingExamplesOutput.Builder |
This value cannot be null. |
See Also
build
Added in API level 35
fun build(): TrainingExamplesOutput
Builds the instance. This builder should not be touched after calling this!
| Return | |
|---|---|
TrainingExamplesOutput |
This value cannot be null. |
setTrainingExampleRecords
Added in API level 35
fun setTrainingExampleRecords(value: MutableList<TrainingExampleRecord!>): TrainingExamplesOutput.Builder
The list of training example byte arrays. The format is a binary serialized tensorflow.Example proto. The maximum allowed example size is 50KB.
| Parameters | |
|---|---|
value |
MutableList<TrainingExampleRecord!>: This value cannot be null. |
| Return | |
|---|---|
TrainingExamplesOutput.Builder |
This value cannot be null. |