Skip to content

Commit ac57012

Browse files
committed
version 2.5.16
1 parent 9b7212b commit ac57012

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

LycorisNet/sources/lycoris.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,13 +715,15 @@ namespace LycorisNet {
715715
// The functor of computeBatch().
716716
void Lycoris::computeBatchCore(uint32_t start, uint32_t end, float **output) {
717717
auto temp = best->clone();
718+
718719
for (uint32_t i = start; i < end; ++i) {
719720
temp->forward((*data_for_computeBatch)[i], output[i]);
720721

721722
if (args->mode == "classify") {
722723
LycorisUtils::softmax(output[i], outputNum);
723724
}
724725
}
726+
725727
delete temp;
726728
}
727729

0 commit comments

Comments
 (0)