Skip to content

Commit 9e72e8b

Browse files
committed
remove extra tensor move action
1 parent 3635fdf commit 9e72e8b

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

extension/asr/runner/runner.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ Result<std::vector<int64_t>> AsrRunner::transcribe(
256256
// Use encoder output sequence length as "prompt tokens" for throughput
257257
stats_.num_prompt_tokens =
258258
static_cast<int64_t>(encoder_output_tensor.size(1));
259-
std::move(encoder_outputs[0]).toTensor();
260259

261260
ET_LOG(
262261
Info,

0 commit comments

Comments
 (0)