Class TensorFlowInputMarshaller<I extends org.gridgain.ml.model.MlJobParameters>
java.lang.Object
org.apache.ignite.example.ml.tensorflowtranslator.TensorFlowInputMarshaller<I>
- All Implemented Interfaces:
Serializable,org.apache.ignite.marshalling.ByteArrayMarshaller<I>,org.apache.ignite.marshalling.Marshaller<I,byte[]>
public class TensorFlowInputMarshaller<I extends org.gridgain.ml.model.MlJobParameters>
extends Object
implements org.apache.ignite.marshalling.ByteArrayMarshaller<I>, Serializable
Handles serialization and deserialization of
MlJobParameters for TensorFlow inference jobs.
Converts job parameters to and from byte arrays for network transmission between client and server.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TensorFlowInputMarshaller
public TensorFlowInputMarshaller()
-
-
Method Details
-
marshal
- Specified by:
marshalin interfaceorg.apache.ignite.marshalling.ByteArrayMarshaller<I extends org.gridgain.ml.model.MlJobParameters>- Specified by:
marshalin interfaceorg.apache.ignite.marshalling.Marshaller<I extends org.gridgain.ml.model.MlJobParameters,byte[]> - Throws:
org.apache.ignite.marshalling.MarshallingException
-
unmarshal
- Specified by:
unmarshalin interfaceorg.apache.ignite.marshalling.ByteArrayMarshaller<I extends org.gridgain.ml.model.MlJobParameters>- Specified by:
unmarshalin interfaceorg.apache.ignite.marshalling.Marshaller<I extends org.gridgain.ml.model.MlJobParameters,byte[]> - Throws:
org.apache.ignite.marshalling.UnmarshallingException
-