add: note

This commit is contained in:
Francesco Capuano
2025-09-27 12:13:53 +02:00
parent 5b647e3bcb
commit 939cb4d938

View File

@@ -59,7 +59,9 @@ class SpatialLearnedEmbeddings(nn.Module):
super().__init__()
self.height = height
self.width = width
self.channel = channel
self.channel = (
channel # TODO(fracapuano): this gives issues with non-square images bc is hardcoded to 4
)
self.num_features = num_features
self.kernel = nn.Parameter(torch.empty(channel, height, width, num_features))