Skip to content

Commit

Permalink
Bugfix in reduction feature aggr.
Browse files Browse the repository at this point in the history
Summary: Bugfix

Reviewed By: bottler

Differential Revision: D40146840

fbshipit-source-id: a8415c361ed3cd939999b87311aff4d3bb1bcfe1
  • Loading branch information
davnov134 authored and facebook-github-bot committed Oct 7, 2022
1 parent 4c8338b commit 73ba66e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def forward(
masks_sampled.device,
self.exclude_target_view,
)
aggr_weigths = masks_sampled * sampling_mask
aggr_weigths = masks_sampled[..., 0] * sampling_mask[..., None]
feats_aggregated = {
k: _avgmaxstd_reduction_function(
f,
Expand Down

0 comments on commit 73ba66e

Please sign in to comment.