public class ModelStorageModelReader extends Object implements ModelReader
DirectorySerializer
.Constructor and Description |
---|
ModelStorageModelReader(String path)
Constructs a new instance of model storage inference model builder.
|
ModelStorageModelReader(String path,
IgniteSupplier<ModelStorage> mdlStorageSupplier)
Constructs a new instance of model storage inference model builder.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
read()
Rads model and returns it in serialized form as byte array.
|
public ModelStorageModelReader(String path, IgniteSupplier<ModelStorage> mdlStorageSupplier)
path
- Path to the directory or file.public ModelStorageModelReader(String path)
path
- Path to the directory or file.public byte[] read()
read
in interface ModelReader
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024