SIGN IN SIGN UP

[Executorch] Refactor op_mul's broadcasting utils (#8204)

* [Executorch] Refactor op_mul's broadcasting utils

Summary:
Refactoring broadcast handling utils that were added for op_mul. This is
in prepartion use these utils to handle broadcast for other ops such as
add, sub, div.
Plus remove a redundant test

Test Plan:
optimized_kernels_test in CI

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]

* Update base for Update on "[Executorch] Refactor op_mul's broadcasting utils"


Summary:
Refactoring broadcast handling utils that were added for op_mul. This is
in prepartion use these utils to handle broadcast for other ops such as
add, sub, div.
Plus remove a redundant test

Test Plan:
optimized_kernels_test in CI

Reviewers:

Subscribers:

Tasks:

Tags:

cc larryliu0820 manuelcandales

[ghstack-poisoned]

* Update base for Update on "[Executorch] Refactor op_mul's broadcasting utils"


Summary:
Refactoring broadcast handling utils that were added for op_mul. This is
in prepartion use these utils to handle broadcast for other ops such as
add, sub, div.
Plus remove a redundant test

Test Plan:
optimized_kernels_test in CI

Reviewers:

Subscribers:

Tasks:

Tags:

cc larryliu0820 manuelcandales

Differential Revision: [D69491816](https://our.internmc.facebook.com/intern/diff/D69491816)

[ghstack-poisoned]

* Update base for Update on "[Executorch] Refactor op_mul's broadcasting utils"


Summary:
Refactoring broadcast handling utils that were added for op_mul. This is
in prepartion use these utils to handle broadcast for other ops such as
add, sub, div.
Plus remove a redundant test

Test Plan:
optimized_kernels_test in CI

Reviewers:

Subscribers:

Tasks:

Tags:

cc larryliu0820 manuelcandales

Differential Revision: [D69491816](https://our.internmc.facebook.com/intern/diff/D69491816)

[ghstack-poisoned]
K
Kimish Patel committed
6d3bf82636d2d69b774ab8900d5229dd8508dda2
Parent: 8ad15f3
Committed by GitHub <noreply@github.com> on 2/13/2025, 2:37:30 PM