ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

LabelAxisOp.Builder

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

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 ()