From 2a285ad7941028d22e66508ad995c1051f00a185 Mon Sep 17 00:00:00 2001 From: Rohan Joshi Date: Mon, 25 Aug 2025 15:04:28 -0700 Subject: [PATCH] QNN Whisper Runner transcribe documentation Summary: Clarify the format of input to the `transcribe` function of the runner Reviewed By: cccclai Differential Revision: D80957217 --- examples/qualcomm/oss_scripts/whisper/runner/runner.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/qualcomm/oss_scripts/whisper/runner/runner.cpp b/examples/qualcomm/oss_scripts/whisper/runner/runner.cpp index 8cd75f433f7..c98326778bf 100644 --- a/examples/qualcomm/oss_scripts/whisper/runner/runner.cpp +++ b/examples/qualcomm/oss_scripts/whisper/runner/runner.cpp @@ -112,7 +112,11 @@ uint64_t Runner::logits_to_token( const executorch::aten::Tensor& logits_tensor) { return sampler_->sample(logits_tensor.data_ptr()); } - +/** + * @param inputs: A vector containing one element: a vector of bytes that + * encodes a float tensor in little-endian byte order. + * + */ Error Runner::transcribe( int32_t seq_len, std::vector>& inputs,