Class DataTypeAdapter
- java.lang.Object
-
- org.nd4j.imports.descriptors.properties.adapters.DataTypeAdapter
-
- All Implemented Interfaces:
AttributeAdapter
public class DataTypeAdapter extends Object implements AttributeAdapter
-
-
Constructor Summary
Constructors Constructor Description DataTypeAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataTypedtypeConv(int dataType)static DataTypedtypeConv(DataType dataType)voidmapAttributeFor(Object inputAttributeValue, Field fieldFor, DifferentialFunction on)Map the attribute using the specified field on the specified function on adapting the given input type to the type of the field for the specified function.
-
-
-
Method Detail
-
mapAttributeFor
public void mapAttributeFor(Object inputAttributeValue, Field fieldFor, DifferentialFunction on)
Description copied from interface:AttributeAdapterMap the attribute using the specified field on the specified function on adapting the given input type to the type of the field for the specified function.- Specified by:
mapAttributeForin interfaceAttributeAdapter- Parameters:
inputAttributeValue- the evaluate to adaptfieldFor- the field foron- the function to map on
-
dtypeConv
public static DataType dtypeConv(int dataType)
-
-