java.lang.NullPointerException: Cannot invoke “org.nd4j.linalg.api.ndarray.INDArray.shape()” because the return value of “org.nd4j.autodiff.samediff.SDVariable.getArr()” is null
at org.nd4j.linalg.api.ops.random.BaseRandomOp.(BaseRandomOp.java:51) ~[nd4j-api-1.0.0-M2.jar:na]
at org.nd4j.linalg.api.ops.random.impl.DropOutInverted.(DropOutInverted.java:47) ~[nd4j-api-1.0.0-M2.jar:na]
at org.nd4j.autodiff.samediff.ops.SDNN.dropoutInverted(SDNN.java:265) ~[nd4j-api-1.0.0-M2.jar:na]
Had anyone used sameDiff.nn.dropoutInverted()? Above error occurs. Same problem when using sameDiff.nn.dropout()