at Ex1BasicSameDiffLayerExample.java, console says:
Exception in thread "main" java.lang.IllegalStateException:
Cannot perform gradient check:
Datatype is not set to double precision (is: FLOAT).
Double precision must be used for gradient checks. Set DataTypeUtil.setDTypeForContext(DataType.DOUBLE);
before using GradientCheckUtil
but in validateLayer(); it had set the DataTypes to double like this: