Skip to content

Commit 2b5ffcf

Browse files
committed
add save and restore stubs for custom serialization
1 parent 539bfd1 commit 2b5ffcf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/model_api.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@ function predict_median end
3131
function transform end
3232
function inverse_transform end
3333

34+
# models can optionally overload these for enable serialization in a
35+
# custom format:
36+
function save end
37+
function restore end
38+
3439
# operations implemented by some meta-models:
3540
function evaluate end

0 commit comments

Comments
 (0)