Package adaptlil.serialization_helpers
Class ByteArrayToINDArrayDeserializer
java.lang.Object
com.fasterxml.jackson.databind.JsonDeserializer<org.nd4j.linalg.api.ndarray.INDArray>
adaptlil.serialization_helpers.ByteArrayToINDArrayDeserializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.deser.NullValueProvider
public class ByteArrayToINDArrayDeserializer
extends com.fasterxml.jackson.databind.JsonDeserializer<org.nd4j.linalg.api.ndarray.INDArray>
Unused but provides a starting point for deserializing an array of bytes into INDArray
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonDeserializer
com.fasterxml.jackson.databind.JsonDeserializer.None
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.nd4j.linalg.api.ndarray.INDArray
deserialize
(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) Methods inherited from class com.fasterxml.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
Constructor Details
-
ByteArrayToINDArrayDeserializer
public ByteArrayToINDArrayDeserializer()
-
-
Method Details
-
deserialize
public org.nd4j.linalg.api.ndarray.INDArray deserialize(com.fasterxml.jackson.core.JsonParser jsonParser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext) throws IOException, com.fasterxml.jackson.core.JacksonException - Specified by:
deserialize
in classcom.fasterxml.jackson.databind.JsonDeserializer<org.nd4j.linalg.api.ndarray.INDArray>
- Throws:
IOException
com.fasterxml.jackson.core.JacksonException
-