I
- Type of model input.O
- Type of model output.public class TensorFlowSavedModelModelParser<I,O> extends TensorFlowBaseModelParser<I,O>
DirectorySerializer
.TensorFlowBaseModelParser.InputTransformer<I>, TensorFlowBaseModelParser.OutputTransformer<O>
Constructor and Description |
---|
TensorFlowSavedModelModelParser(String... tags)
Constructs a new instance of TensorFlow model parser.
|
Modifier and Type | Method and Description |
---|---|
org.tensorflow.Session |
parseModel(byte[] mdl)
Parses model specified in serialized form as byte array.
|
parse, withInput, withOutput
public TensorFlowSavedModelModelParser(String... tags)
tags
- Model tags.public org.tensorflow.Session parseModel(byte[] mdl)
parseModel
in class TensorFlowBaseModelParser<I,O>
mdl
- Inference model in serialized form as byte array.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024