mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
parent
a48b115540
commit
7e1e0f5c9e
2 changed files with 4 additions and 4 deletions
|
|
@ -468,8 +468,8 @@ Status GreedySearchProcessLogits(
|
|||
topk_indices));
|
||||
|
||||
#ifdef DEBUG_GENERATION
|
||||
dumper->Print("topk_scores", *(topk_scores.get()));
|
||||
dumper->Print("topk_indices", *(topk_indices.get()));
|
||||
dumper->Print("topk_scores", topk_scores);
|
||||
dumper->Print("topk_indices", topk_indices);
|
||||
#endif
|
||||
|
||||
gsl::span<const int64_t> next_token_indices = topk_indices.DataAsSpan<int64_t>();
|
||||
|
|
|
|||
|
|
@ -520,8 +520,8 @@ Status GreedySearchProcessLogits(
|
|||
*topk_scores, *topk_indices));
|
||||
|
||||
#ifdef DEBUG_GENERATION
|
||||
dumper->Print("topk_scores", topk_scores);
|
||||
dumper->Print("topk_indices", topk_indices);
|
||||
dumper->Print("topk_scores", *(topk_scores.get()));
|
||||
dumper->Print("topk_indices", *(topk_indices.get()));
|
||||
#endif
|
||||
|
||||
const int64_t* next_token_indices = topk_indices->Data<int64_t>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue