public class ModelDescriptor extends Object implements Serializable
ModelReader
and ModelParser
which
is required to build the model.Constructor and Description |
---|
ModelDescriptor(String name,
String desc,
ModelSignature signature,
ModelReader reader,
ModelParser<byte[],byte[],?> parser)
Constructs a new instance of model descriptor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc() |
String |
getName() |
ModelParser<byte[],byte[],?> |
getParser() |
ModelReader |
getReader() |
ModelSignature |
getSignature() |
String |
toString() |
public ModelDescriptor(String name, String desc, ModelSignature signature, ModelReader reader, ModelParser<byte[],byte[],?> parser)
name
- Model name.desc
- Model description.signature
- Model signature that keeps input/output types in Protobuf.reader
- Model reader.parser
- Model parser.public String getName()
public String getDesc()
public ModelSignature getSignature()
public ModelReader getReader()
public ModelParser<byte[],byte[],?> getParser()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024