View source on GitHub |
Represents a categorical slot whose values are within a finite set.
tflite_support.task.processor.CategoricalSlot(
slot: str,
prediction: tflite_support.task.processor.Category
)
Attributes | |
---|---|
slot
|
The name of the slot. |
prediction
|
The predicted class. |
Methods
__eq__
__eq__(
other: Any
) -> bool
Checks if this object is equal to the given object.
Args | |
---|---|
other
|
The object to be compared with. |
Returns | |
---|---|
True if the objects are equal. |