Skip to content

Commit fb63da9

Browse files
zonglinpengfacebook-github-bot
authored andcommitted
add missing namespace of getLeadingDims in hifi (pytorch#5997)
Summary: Pull Request resolved: pytorch#5997 ~ Reviewed By: mcremon-meta Differential Revision: D64063692 fbshipit-source-id: 536c963f97c97d7ecee360a3e773c86e8d7d7474
1 parent a922b3d commit fb63da9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backends/cadence/hifi/operators/quantized_layer_norm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <tuple>
1414

1515
using executorch::aten::Tensor;
16+
using executorch::runtime::getLeadingDims;
1617
using executorch::runtime::KernelRuntimeContext;
1718

1819
namespace impl {

backends/cadence/hifi/operators/quantized_linear_out.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace HiFi {
1616
namespace native {
1717

1818
using executorch::aten::Tensor;
19+
using executorch::runtime::getLeadingDims;
1920
using executorch::runtime::KernelRuntimeContext;
2021

2122
void quantized_linear_out(

0 commit comments

Comments
 (0)