Fix master (#74)

* Remove non-existent cases

Signed-off-by: Paul Dubs <paul.dubs@gmail.com>

* Add dependency for non-oracle jdk

Signed-off-by: Paul Dubs <paul.dubs@gmail.com>
master
Alex Black 2019-11-23 12:09:37 +11:00 committed by GitHub
parent 4187190609
commit 8d87b078c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,6 @@ import org.deeplearning4j.nn.conf.memory.LayerMemoryReport;
import org.deeplearning4j.nn.conf.memory.MemoryReport;
import org.deeplearning4j.nn.conf.memory.NetworkMemoryReport;
import org.deeplearning4j.nn.conf.serde.JsonMappers;
import org.deeplearning4j.nn.layers.recurrent.LastTimeStepLayer;
import org.deeplearning4j.nn.weights.IWeightInit;
import org.deeplearning4j.nn.weights.WeightInit;
import org.deeplearning4j.util.OutputLayerUtil;
@ -248,11 +247,8 @@ public class MultiLayerConfiguration implements Serializable, Cloneable {
break;
//Remaining: TODO
case EXPLL:
case RMSE_XENT:
case SQUARED_LOSS:
case RECONSTRUCTION_CROSSENTROPY:
case CUSTOM:
default:
log.warn("OutputLayer with null LossFunction or pre-0.6.0 loss function configuration detected: could not set loss function for {}",
lossFunction);

View File

@ -70,7 +70,11 @@
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.2</version>
</dependency>
<!-- WebJars Dependencies -->
<dependency>