nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/factory/BaseNDArrayFactory.java
@Override
    public void setDType(DataBuffer.Type dtype) {
        assert dtype == DataBuffer.Type.DOUBLE || dtype == DataBuffer.Type.FLOAT
                        || dtype == DataBuffer.Type.INT : "Invalid opType passed, must be float or double";
        // this.dtype = dtype;
    }
@Override
    public void setDType(DataBuffer.Type dtype) {
        assert dtype == DataBuffer.Type.DOUBLE || dtype == DataBuffer.Type.FLOAT
                        || dtype == DataBuffer.Type.INT : "Invalid opType passed, must be float or double";
        // this.dtype = dtype;
    }
Sets the data opType

@param dtype