Skip to content

Commit e4d261a

Browse files
Resolved Linter errors
Signed-off-by: [email protected] <[email protected]>
1 parent e4df82c commit e4d261a

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

backends/cadence/fusion_g3/operators/op_add.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,4 +245,4 @@ Tensor& add_scalar_out(KernelRuntimeContext& ctx,
245245
} // namespace native
246246
} // namespace G3
247247
} // namespace impl
248-
} //namespace cadence
248+
} // namespace cadence

backends/cadence/fusion_g3/operators/op_cat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
#include <cstring>
10-
1110
#include <executorch/kernels/portable/cpu/util/copy_ops_util.h>
1211
#include <executorch/runtime/kernel/kernel_includes.h>
1312
#include <xa_nnlib_kernels_api.h>

backends/cadence/fusion_g3/operators/op_dequantize.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,8 @@ Tensor& dequantize_per_token_out(
797797
int64_t quant_max,
798798
ScalarType dtype,
799799
ScalarType out_dtype,
800-
Tensor& out) {
800+
Tensor& out)
801+
{
801802
(void)context;
802803
return dequantize_per_token_out(
803804
input, scale, zero_points, quant_min, quant_max, dtype, out_dtype, out);

backends/cadence/fusion_g3/operators/op_mul.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ namespace G3 {
2525
namespace native {
2626

2727
Tensor& mul_out(KernelRuntimeContext& ctx,
28-
const Tensor& a,
29-
const Tensor& b,
30-
Tensor& out)
28+
const Tensor& a,
29+
const Tensor& b,
30+
Tensor& out)
3131
{
3232
// Common Dtype
3333
ScalarType common_type = executorch::runtime::promoteTypes(a.scalar_type(), b.scalar_type());

backends/cadence/fusion_g3/operators/op_native_layer_norm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <tuple>
1414
#include <xa_nnlib_kernels_api.h>
1515

16-
1716
using torch::executor::KernelRuntimeContext;
1817
using Tensor = exec_aten::Tensor;
1918
using ScalarType = exec_aten::ScalarType;

backends/cadence/fusion_g3/operators/op_quantize.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ using torch::executor::Error;
3030
Bits4 = 22
3131
};
3232

33-
3433
/**
3534
* For an input tensor, use the scale and zero_point arguments to quantize it.
3635
*/

backends/cadence/fusion_g3/operators/op_softmax.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*/
88

99
#include <cmath>
10-
1110
#include <executorch/kernels/portable/cpu/util/activation_ops_util.h>
1211
#include <executorch/kernels/portable/cpu/util/functional_util.h>
1312
#include <executorch/kernels/portable/cpu/util/reduce_util.h>

0 commit comments

Comments
 (0)