MCPcopy Create free account
hub / github.com/coperception/star / fusion

Method fusion

star/models/CNNNet.py:372–376  ·  view source on GitHub ↗
(self, mode="sum")

Source from the content-addressed store, hash-verified

370 self.neighbor_feat_list.append(warp_feat)
371
372 def fusion(self, mode="sum"):
373 fused = torch.sum(torch.stack(self.neighbor_feat_list), dim=0)
374 if mode == "union":
375 fused[fused>0.] = 1.0
376 return fused
377
378 @staticmethod
379 def agents_to_batch(feats):

Callers 8

ego_late_fusionMethod · 0.95
forward_fusionMethod · 0.45
late_fusionMethod · 0.45
forward_fusionMethod · 0.45
late_fusionMethod · 0.45
ego_late_fusionMethod · 0.45
late_fusionMethod · 0.45
ego_late_fusionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected