Searched refs:InferenceOutput (Results 1 – 13 of 13) sorted by relevance
32 public final class InferenceOutput { class55 /* package-private */ InferenceOutput(@NonNull Map<Integer, Object> dataOutputs) { in InferenceOutput() method in InferenceOutput83 InferenceOutput that = (InferenceOutput) o; in equals()138 public @NonNull InferenceOutput build() { in build()145 InferenceOutput o = new InferenceOutput(mDataOutputs); in build()
78 @NonNull private InferenceOutput mExpectedOutputStructure;415 @NonNull InferenceOutput expectedOutputStructure) { in InferenceInput()477 public @NonNull InferenceOutput getExpectedOutputStructure() { in getExpectedOutputStructure()523 private @NonNull InferenceOutput mExpectedOutputStructure;557 @NonNull InferenceOutput expectedOutputStructure) { in Builder()621 public @NonNull Builder setExpectedOutputStructure(@NonNull InferenceOutput value) { in setExpectedOutputStructure()
67 @NonNull OutcomeReceiver<InferenceOutput, Exception> receiver) { in run() argument89 InferenceOutput output = in run()90 new InferenceOutput(outputParcel.getData()); in run()
43 public InferenceOutputParcel(@NonNull InferenceOutput value) { in InferenceOutputParcel()
22 import android.adservices.ondevicepersonalization.InferenceOutput;35 InferenceOutput output = new InferenceOutput.Builder().setDataOutputs(outputData).build(); in build_success()45 InferenceOutput output = new InferenceOutput.Builder().addDataOutput(0, expected).build(); in build_addData_success()
26 import android.adservices.ondevicepersonalization.InferenceOutput;61 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInput_success()85 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInputWithSetters()90 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInputWithSetters()113 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInput_batchNotSet_success()
76 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in runInference_success()100 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in runInference_error()130 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in runInference_resultMissingInferenceOutput()140 public class MyTestCallback implements OutcomeReceiver<InferenceOutput, Exception> {142 public InferenceOutput mInferenceOutput = null;146 public void onResult(InferenceOutput result) { in onResult()180 new InferenceOutput.Builder().setDataOutputs(result).build())); in runInference()
69 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInferenceInput_reusable()89 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInput_success()113 new InferenceOutput.Builder().setDataOutputs(outputData).build()) in buildInput_batchNotSet_success()
26 import android.adservices.ondevicepersonalization.InferenceOutput;303 CompletableFuture<InferenceOutput> future = new CompletableFuture<>(); in handleRunModelInference()304 OutcomeReceiver<InferenceOutput, Exception> callback = in handleRunModelInference()307 public void onResult(InferenceOutput result) { in handleRunModelInference()321 InferenceOutput result = future.get(); in handleRunModelInference()345 new InferenceOutput.Builder().setDataOutputs(outputMap).build()) in buildInferenceInput()
30 import android.adservices.ondevicepersonalization.InferenceOutput;253 new InferenceOutput.Builder().build()) in runModelInference_missingModelOutput()296 private InferenceOutput generateInferenceOutput(int numExample) { in generateInferenceOutput()300 return new InferenceOutput.Builder().setDataOutputs(outputMap).build(); in generateInferenceOutput()
21 import android.adservices.ondevicepersonalization.InferenceOutput;134 InferenceOutput result = new InferenceOutput.Builder().setDataOutputs(outputs).build(); in runTfliteInterpreter()
110 …method @NonNull public android.adservices.ondevicepersonalization.InferenceOutput getExpectedOutpu…116 …ut.Params, @NonNull Object[], @NonNull android.adservices.ondevicepersonalization.InferenceOutput);119 …er setExpectedOutputStructure(@NonNull android.adservices.ondevicepersonalization.InferenceOutput);144 …personalization.flags.on_device_personalization_apis_enabled") public final class InferenceOutput {148 public static final class InferenceOutput.Builder {149 ctor public InferenceOutput.Builder();150 …method @NonNull public android.adservices.ondevicepersonalization.InferenceOutput.Builder addDataO…151 method @NonNull public android.adservices.ondevicepersonalization.InferenceOutput build();152 …method @NonNull public android.adservices.ondevicepersonalization.InferenceOutput.Builder setDataO…192 …ndroid.os.OutcomeReceiver<android.adservices.ondevicepersonalization.InferenceOutput,java.lang.Exc…
31 import android.adservices.ondevicepersonalization.InferenceOutput;293 private Ad runAuction(List<Ad> ads, InferenceOutput inferenceOutput) { in runAuction()512 ListenableFuture<InferenceOutput> inferenceFuture = in handleOnExecute()906 private ListenableFuture<InferenceOutput> runInference(List<Ad> ads) {921 public void onResult(InferenceOutput result) {942 private InferenceOutput generateInferenceOutput(int numExample) {946 return new InferenceOutput.Builder().setDataOutputs(outputMap).build();