We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b633b commit 6d322b0Copy full SHA for 6d322b0
backends/cadence/hifi/operators/quantize_per_tensor.cpp
@@ -10,6 +10,8 @@
10
#include <executorch/runtime/kernel/kernel_includes.h>
11
#include <xa_nnlib_kernels_api.h>
12
13
+#include <executorch/runtime/platform/log.h>
14
+
15
namespace cadence {
16
namespace impl {
17
namespace HiFi {
@@ -32,7 +34,9 @@ void quantize_per_tensor_out(
32
34
Tensor& out) {
33
35
const float* input_data = input.const_data_ptr<float>();
36
const size_t numel = out.numel();
-
37
+ ET_LOG(
38
+ Info,
39
+ "HERE!!");
40
if (out.scalar_type() == ScalarType::Byte) {
41
uint8_t* out_data = out.mutable_data_ptr<uint8_t>();
42
cadence::impl::HiFi::kernels::quantize<uint8_t>(
0 commit comments