File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
packages/react-native-executorch/common/rnexecutorch/models/speech_to_text/asr Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 55#include " executorch/extension/tensor/tensor_ptr.h"
66#include " rnexecutorch/data_processing/Numerical.h"
77#include " rnexecutorch/data_processing/gzip.h"
8- #include < rnexecutorch/Log.h>
98
109namespace rnexecutorch ::models::speech_to_text::asr {
1110
@@ -277,10 +276,6 @@ std::vector<float> ASR::decode(std::span<int32_t> tokens,
277276 const auto encoderOutputSize = static_cast <int32_t >(encoderOutput.size ());
278277 std::vector<int32_t > encShape = {1 , ASR::kNumFrames ,
279278 encoderOutputSize / ASR::kNumFrames };
280- log (LOG_LEVEL::Debug, encShape);
281- log (LOG_LEVEL::Debug, tokenShape);
282- log (LOG_LEVEL::Debug, this ->encoder ->getAllInputShapes ());
283- log (LOG_LEVEL::Debug, this ->decoder ->getAllInputShapes ());
284279 auto encoderTensor = executorch::extension::make_tensor_ptr (
285280 std::move (encShape), encoderOutput.data (), ScalarType::Float);
286281
You can’t perform that action at this time.
0 commit comments