Skip to content

Commit

Permalink
[FIX FR NOW]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Jan 24, 2024
1 parent 10ffe02 commit 1018e07
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion swarms_torch/drone_swarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,12 @@ def forward(
final_neighborhood_embedding = self.neighbor_mlp(obs_neighbors)
return final_neighborhood_embedding

@dataclass
class SwarmMultiHeadAttentionEncoder(nn.Module):
dim: int

@dataclass
class SwarmMultiHeadAttention(SwarmMultiHeadAttentionEncoder):
class QuadSingleHeadAttentionEncoderSim2Real(SwarmMultiHeadAttentionEncoder):
obs_space: int
quads_obs_repr: Any
neighbor_hidden_size: int
Expand Down

0 comments on commit 1018e07

Please sign in to comment.