Skip to content

Commit

Permalink
add gpu_memory parameter in sits_classify.sits functionn
Browse files Browse the repository at this point in the history
  • Loading branch information
OldLipe committed Oct 25, 2023
1 parent 88b54ec commit 4b51716
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions R/sits_classify.R
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ sits_classify.sits <- function(data,
...,
filter_fn = NULL,
multicores = 2L,
gpu_memory = NULL,
progress = TRUE) {
# Pre-conditions
data <- .check_samples_ts(data)
Expand All @@ -181,6 +182,7 @@ sits_classify.sits <- function(data,
ml_model = ml_model,
filter_fn = filter_fn,
multicores = multicores,
gpu_memory = gpu_memory,
progress = progress
)
return(classified_ts)
Expand Down
5 changes: 3 additions & 2 deletions man/sits_classify.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b51716

Please sign in to comment.