Skip to content

Commit

Permalink
Fix bug in mock inference service
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed May 9, 2024
1 parent 8fa22f1 commit 3684c2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private List<ChunkedInferenceServiceResults> makeChunkedResults(List<String> inp
var results = new ArrayList<ChunkedInferenceServiceResults>();
for (int i = 0; i < input.size(); i++) {
double[] values = new double[dimensions];
for (int j = 0; j < 5; j++) {
for (int j = 0; j < dimensions; j++) {
values[j] = stringWeight(input.get(i), j);
}
results.add(
Expand Down

0 comments on commit 3684c2a

Please sign in to comment.