Back to Tensorflow

LabelAxisOp

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

2.21.01.6 KB
Original Source

public class LabelAxisOp

Labels TensorBuffer with axisLabels for outputs.

Apply on a TensorBuffer to get a TensorLabel that could output a Map, which is a pair of the label name and the corresponding TensorBuffer value.

Nested Classes

| class | LabelAxisOp.Builder | The inner builder class to build a LabelTensor Operator. |

Public Methods

| TensorLabel | apply(TensorBuffer buffer) |

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 TensorLabel apply (TensorBuffer buffer)

Parameters

| buffer | |