Skip to content

Commit 8ecbd04

Browse files
committed
Update base for Update on "[ExecuTorch] Add broadcast support for optimized add op"
Summary: This brings add op to feature parity, wrt, broadcasting, to mul op in optimized kernels lib Test Plan: tests added Reviewers: Subscribers: Tasks: Tags: cc larryliu0820 manuelcandales Differential Revision: [D69491814](https://our.internmc.facebook.com/intern/diff/D69491814) [ghstack-poisoned]
1 parent f565c3b commit 8ecbd04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernels/optimized/cpu/binary_ops.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ Tensor& handle_last_dim_broadcast_elementwise(
199199
const Tensor& b,
200200
Tensor& out,
201201
const ElementwiseOptimizedPath selected_optimized_path) {
202-
ScalarType out_type = out.scalar_type();
203202
const Tensor* lhs;
204203
const Tensor* rhs;
205204
if (selected_optimized_path ==

0 commit comments

Comments
 (0)