Back to Tensorflow

LabelAxisOp.Builder

tensorflow/lite/g3doc/api_docs/java/org/tensorflow/lite/support/label/ops/LabelAxisOp.Builder.html

2.21.02.5 KB
Original Source

public static class LabelAxisOp.Builder

The inner builder class to build a LabelTensor Operator.

Public Methods

| LabelAxisOp.Builder | addAxisLabel(int axis, List<String> labels) | | LabelAxisOp.Builder | addAxisLabel(Context context, int axis, String filePath) | | LabelAxisOp | build() |

Inherited Methods

From class java.lang.Object

| boolean | equals(Object arg0) | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

Public Methods

public LabelAxisOp.Builder addAxisLabel (int axis, List<String> labels)

Parameters

| axis | | | labels | |

public LabelAxisOp.Builder addAxisLabel (Context context, int axis, String filePath)

Parameters

| context | | | axis | | | filePath | |

Throws

| IOException | |

public LabelAxisOp build ()