fix(core): correct omega comment to match actual init behavior

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KAWnnPg2qvmLNySamE2k85
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-09-01 23:49:46 -05:00
1 parent 23f06e1ff5
commit 85a0f9d86a
1 file changed
+3 -2
+3 -2
View File
@@ -16,8 +16,9 @@ class AffectiveCPPN(nn.Module):
super().__init__() super().__init__()
self.l1 = nn.Linear(coord_dim + n_edge_types + context_dim, hidden) self.l1 = nn.Linear(coord_dim + n_edge_types + context_dim, hidden)
self.l2 = nn.Linear(hidden, out_dim) self.l2 = nn.Linear(hidden, out_dim)
# omega is the calibration knob for kernel bandwidth; default # omega scales the sine pre-activation and sets the kernel bandwidth; it is
# Linear init cannot reach the ~1/sigma frequencies a local kernel needs. # a calibration knob that wants tuning against the domain's length scale
# (the particles domain's sigma). l1 deliberately keeps PyTorch's default init.
self.omega = omega self.omega = omega
def forward(self, r: Tensor, edge_onehot: Tensor, context: Tensor) -> Tensor: def forward(self, r: Tensor, edge_onehot: Tensor, context: Tensor) -> Tensor: