osc.models.embeds
Positional embeddings and query tokens for objects.
Functions
Batched k-means for PyTorch with cosine distance. |
|
Batched k-means for PyTorch with Euclidean distance. |
Classes
Initializes internal Module state, shared by both nn.Module and ScriptModule. |
|
Initializes internal Module state, shared by both nn.Module and ScriptModule. |
|
Fixed number of learnable object tokens, shape |
|
Initializes internal Module state, shared by both nn.Module and ScriptModule. |
|
Dynamically sample |