crowdkit.learning.crowd_layer.CrowdLayer.forward
| Source code
forward( self, outputs: Tensor, workers: Tensor)
Forward pass.
Parameters | Type | Description |
---|---|---|
outputs | Tensor | Tensor of shape (batch_size, input_dim) |
workers | Tensor | Tensor of shape (batch_size,) containing the worker IDs. |
Returns:
Tensor of shape (batch_size, num_labels)
Return type:
Tensor
Last updated: March 31, 2023