nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/util/DataTypeUtil.java
public static String getDTypeForName(DataBuffer.Type allocationMode) {
        switch (allocationMode) {
            case DOUBLE:
                return "double";
            case FLOAT:
                return "float";
            case INT:
                return "int";
            case HALF:
                return "half";
            default:
                return "float";
        }
    }
public static String getDTypeForName(DataBuffer.Type allocationMode) {
        switch (allocationMode) {
            case DOUBLE:
                return "double";
            case FLOAT:
                return "float";
            case INT:
                return "int";
            case HALF:
                return "half";
            default:
                return "float";
        }
    }
public static String getDTypeForName ( DataBuffer . Type allocationMode ) { switch ( allocationMode ) { case DOUBLE : return "double" ; case FLOAT : return "float" ; case INT : return "int" ; case HALF : return "half" ; default : return "float" ; } }
Gets the name of the alocation mode
@param allocationMode
@return
Gets the name of the alocation mode