ClusterDeviceResult#

class nvmolkit.clustering.ClusterDeviceResult(
cluster_ids: AsyncGpuResult,
centroids: AsyncGpuResult,
cluster_sizes: AsyncGpuResult,
)#

Device-resident clustering result.

cluster_ids#

int32 cluster ID of each input, shape (N,). IDs are contiguous from zero.

Type:

nvmolkit.types.AsyncGpuResult

centroids#

int32 input index of each cluster’s centroid, shape (num_clusters,).

Type:

nvmolkit.types.AsyncGpuResult

cluster_sizes#

int64 member count of each cluster, shape (num_clusters,).

Type:

nvmolkit.types.AsyncGpuResult