Skip to content

Commit

Permalink
Consolidate with div
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazos committed Jul 13, 2023
1 parent 08a3bad commit 7b41a20
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions torch/_meta_registrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -2733,12 +2733,7 @@ def meta__foreach_add__list(self, other, alpha=1):
_check_foreach_binop_tensor_lists(self, other)


@register_meta([aten._foreach_mul_.List])
def meta__foreach_mul__list(self, other):
_check_foreach_binop_tensor_lists(self, other)


@register_meta([aten._foreach_div_.List])
@register_meta([aten._foreach_mul_.List, aten._foreach_div_.List])
def meta__foreach_binop__list(self, other):
_check_foreach_binop_tensor_lists(self, other)

Expand Down

0 comments on commit 7b41a20

Please sign in to comment.