Skip to content

Commit de89397

Browse files
authored
Name Correction op_mean (#12885)
### Summary Operator and dtype selective build requires operator names to match operators in use. This changes corrects the name for `mean` operator. Change is similar to that in #12755.
1 parent 1c72e0e commit de89397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernels/portable/cpu/op_mean.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Tensor& mean_dim_out(
4747

4848
MapReduceOverDimListPlan plan(in, dim_list);
4949
// @lint-ignore CLANGTIDY facebook-hte-CArray
50-
static constexpr const char op_name[] = "add.out";
50+
static constexpr const char op_name[] = "mean.out";
5151
ET_SWITCH_REALHBBF16_TYPES(in.scalar_type(), ctx, op_name, CTYPE_IN, [&] {
5252
ET_SWITCH_FLOATHBF16_TYPES(out.scalar_type(), ctx, op_name, CTYPE_OUT, [&] {
5353
CTYPE_OUT* out_data = out.mutable_data_ptr<CTYPE_OUT>();

0 commit comments

Comments
 (0)