कंसोल पर जाएं

FirebaseModelInputOutputOptions.Builder

public static class FirebaseModelInputOutputOptions.Builder extends Object

Builder class to build FirebaseModelInputOutputOptions.

Public Constructor Summary

Public Method Summary

FirebaseModelInputOutputOptions
FirebaseModelInputOutputOptions.Builder
setInputFormat(int index, int dataType, int[] dims)
Sets type and dimensions for index-th input.
FirebaseModelInputOutputOptions.Builder
setOutputFormat(int index, int dataType, int[] dims)
Sets type and dimensions for index-th output.

Inherited Method Summary

Public Constructors

public FirebaseModelInputOutputOptions.Builder ()

Creates a builder to build FirebaseModelInputOutputOptions.

public FirebaseModelInputOutputOptions.Builder (FirebaseModelInputOutputOptions options)

Gets a builder from an existing FirebaseModelInputOutputOptions.

Parameters
options an instance of FirebaseModelInputOutputOptions.

Public Methods

public FirebaseModelInputOutputOptions.Builder setInputFormat (int index, int dataType, int[] dims)

Sets type and dimensions for index-th input.

Parameters
index index of the input data to set type and dimensions for.
dataType data type of the input data. It should be one of FirebaseModelDataType.