Package qupath.bioimageio.spec.tensor
Class Tensors.NominalOrOrdinalDataDescription
java.lang.Object
qupath.bioimageio.spec.tensor.Tensors.NominalOrOrdinalDataDescription
- All Implemented Interfaces:
TensorDataDescription
- Enclosing class:
- Tensors
public static class Tensors.NominalOrOrdinalDataDescription
extends Object
implements TensorDataDescription
A description of the possible discrete data values in a tensor.
-
Method Details
-
getValues
Get the possible values for the described tensor to which numeric dtype values relate to.- Returns:
- A list, where elements can be int, float, bool, String.
-
getType
The data type of the underlying tensor.- Returns:
- An enum describing the type.
-