Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Jan 26, 2024
1 parent 8315be5 commit 801acdc
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ public static Optional<String> executePreprocessFunction(
return Optional.ofNullable(executeScript(scriptService, preProcessFunction, ImmutableMap.of("text_docs", inputSentences)));
}

public static List<ModelTensor> executeBuildInPostProcessFunction(
List<?> vectors,
Function<List<?>, List<ModelTensor>> function
) {
public static List<ModelTensor> executeBuildInPostProcessFunction(List<?> vectors, Function<List<?>, List<ModelTensor>> function) {
return function.apply(vectors);
}

Expand Down

0 comments on commit 801acdc

Please sign in to comment.