Skip to content

Commit 6d322b0

Browse files
Zonglin Pengfacebook-github-bot
authored andcommitted
Temporary Commit at 10/16/2024, 3:50:59 PM
1 parent 16b633b commit 6d322b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

backends/cadence/hifi/operators/quantize_per_tensor.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <executorch/runtime/kernel/kernel_includes.h>
1111
#include <xa_nnlib_kernels_api.h>
1212

13+
#include <executorch/runtime/platform/log.h>
14+
1315
namespace cadence {
1416
namespace impl {
1517
namespace HiFi {
@@ -32,7 +34,9 @@ void quantize_per_tensor_out(
3234
Tensor& out) {
3335
const float* input_data = input.const_data_ptr<float>();
3436
const size_t numel = out.numel();
35-
37+
ET_LOG(
38+
Info,
39+
"HERE!!");
3640
if (out.scalar_type() == ScalarType::Byte) {
3741
uint8_t* out_data = out.mutable_data_ptr<uint8_t>();
3842
cadence::impl::HiFi::kernels::quantize<uint8_t>(

0 commit comments

Comments
 (0)