Package | com.tuarua.firebase.ml.custom |
Class | public class ModelInputOutputOptions |
Inheritance | ModelInputOutputOptions ![]() |
Property | Defined By | ||
---|---|---|---|
inputDimensions : Array [read-only] The array of dimensions for the input at a given index. | ModelInputOutputOptions | ||
inputIndex : uint [read-only] The index of the input to configure. | ModelInputOutputOptions | ||
inputType : uint [read-only] The element type for the input at a given index. | ModelInputOutputOptions | ||
outputDimensions : Array [read-only] The array of dimensions for the output at a given index. | ModelInputOutputOptions | ||
outputIndex : uint [read-only] The index of the output to configure. | ModelInputOutputOptions | ||
outputType : uint [read-only] The element type for the output at a given index. | ModelInputOutputOptions |
Method | Defined By | ||
---|---|---|---|
ModelInputOutputOptions | |||
setInputFormat(index:uint, type:uint, dimensions:Array):void
Sets the type and dimensions for the input at a given index. | ModelInputOutputOptions | ||
setOutputFormat(index:uint, type:uint, dimensions:Array):void
Sets the type and dimensions for the output at a given index. | ModelInputOutputOptions |
inputDimensions | property |
inputDimensions:Array
[read-only] The array of dimensions for the input at a given index.
public function get inputDimensions():Array
inputIndex | property |
inputIndex:uint
[read-only] The index of the input to configure.
public function get inputIndex():uint
inputType | property |
inputType:uint
[read-only] The element type for the input at a given index.
public function get inputType():uint
outputDimensions | property |
outputDimensions:Array
[read-only] The array of dimensions for the output at a given index.
public function get outputDimensions():Array
outputIndex | property |
outputIndex:uint
[read-only] The index of the output to configure.
public function get outputIndex():uint
outputType | property |
outputType:uint
[read-only] The element type for the output at a given index.
public function get outputType():uint
ModelInputOutputOptions | () | Constructor |
public function ModelInputOutputOptions()
setInputFormat | () | method |
public function setInputFormat(index:uint, type:uint, dimensions:Array):void
Sets the type and dimensions for the input at a given index.
Parameters
index:uint — The index of the input to configure.
| |
type:uint — The element type for the input at a given index.
| |
dimensions:Array — The array of dimensions for the input at a given index. Each
dimension should have an uint value. For example, for a 2 dimensional input with 4 rows
and 9 columns, the corresponding dimensions should be provided as an Array containing two
Number s with unsigned integer values, 4 and 9 respectively.
|
setOutputFormat | () | method |
public function setOutputFormat(index:uint, type:uint, dimensions:Array):void
Sets the type and dimensions for the output at a given index.
Parameters
index:uint — The index of the output to configure.
| |
type:uint — The element type for the output at a given index.
| |
dimensions:Array — The array of dimensions for the output at a given index. Each dimension should
have an uint value. For example, for a 2 dimensional output with 4 rows and 9 columns,
the corresponding dimensions should be provided as an Array containing two Number s with
unsigned integer values, 4 and 9 respectively.
|