A single nearest neighbor.
tflite_support.task.processor.NearestNeighbor(
metadata: bytearray, distance: float
)
Attributes |
metadata
|
User-defined metadata about the result. This could be a label, a
unique ID, a serialized proto of some sort, etc.
|
distance
|
The distance score indicating how confident the result is. Lower
is better.
|
Methods
__eq__
View source
__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.
|