Package org.nd4j.serde.json
Class LegacyILossFunctionDeserializer
- java.lang.Object
-
- org.nd4j.shade.jackson.databind.JsonDeserializer<T>
-
- org.nd4j.serde.json.BaseLegacyDeserializer<ILossFunction>
-
- org.nd4j.serde.json.LegacyILossFunctionDeserializer
-
- All Implemented Interfaces:
org.nd4j.shade.jackson.databind.deser.NullValueProvider
public class LegacyILossFunctionDeserializer extends BaseLegacyDeserializer<ILossFunction>
-
-
Constructor Summary
Constructors Constructor Description LegacyILossFunctionDeserializer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getDeserializedType()
org.nd4j.shade.jackson.databind.ObjectMapper
getLegacyJsonMapper()
Map<String,String>
getLegacyNamesMap()
static void
registerLegacyClassDefaultName(@NonNull Class<? extends ILossFunction> clazz)
static void
registerLegacyClassSpecifiedName(@NonNull String name, @NonNull Class<? extends ILossFunction> clazz)
static void
setLegacyJsonMapper(org.nd4j.shade.jackson.databind.ObjectMapper mapper)
-
Methods inherited from class org.nd4j.serde.json.BaseLegacyDeserializer
deserialize
-
Methods inherited from class org.nd4j.shade.jackson.databind.JsonDeserializer
deserialize, deserializeWithType, deserializeWithType, findBackReference, getAbsentValue, getDelegatee, getEmptyAccessPattern, getEmptyValue, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getNullValue, getNullValue, getObjectIdReader, handledType, isCachable, logicalType, replaceDelegatee, supportsUpdate, unwrappingDeserializer
-
-
-
-
Method Detail
-
setLegacyJsonMapper
public static void setLegacyJsonMapper(org.nd4j.shade.jackson.databind.ObjectMapper mapper)
-
getLegacyNamesMap
public Map<String,String> getLegacyNamesMap()
- Specified by:
getLegacyNamesMap
in classBaseLegacyDeserializer<ILossFunction>
-
getLegacyJsonMapper
public org.nd4j.shade.jackson.databind.ObjectMapper getLegacyJsonMapper()
- Specified by:
getLegacyJsonMapper
in classBaseLegacyDeserializer<ILossFunction>
-
getDeserializedType
public Class<?> getDeserializedType()
- Specified by:
getDeserializedType
in classBaseLegacyDeserializer<ILossFunction>
-
registerLegacyClassDefaultName
public static void registerLegacyClassDefaultName(@NonNull @NonNull Class<? extends ILossFunction> clazz)
-
registerLegacyClassSpecifiedName
public static void registerLegacyClassSpecifiedName(@NonNull @NonNull String name, @NonNull @NonNull Class<? extends ILossFunction> clazz)
-
-