Commit ab259b75 authored by Abdallah Atouani's avatar Abdallah Atouani

change models to new syntax

removed unused impors
parent 75c726c1
Pipeline #171213 failed with stages
in 1 minute and 11 seconds
...@@ -27,23 +27,15 @@ import de.se_rwth.commons.logging.Finding; ...@@ -27,23 +27,15 @@ import de.se_rwth.commons.logging.Finding;
import de.se_rwth.commons.logging.Log; import de.se_rwth.commons.logging.Log;
import freemarker.template.TemplateException; import freemarker.template.TemplateException;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import java.io.IOException; import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths; import java.nio.file.Paths;
import java.util.Arrays; import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertEquals;
import static junit.framework.TestCase.assertTrue; import static junit.framework.TestCase.assertTrue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import org.junit.rules.ExpectedException;
public class GenerationTest extends AbstractSymtabTest { public class GenerationTest extends AbstractSymtabTest {
@Before @Before
......
...@@ -43,7 +43,7 @@ component Alexnet{ ...@@ -43,7 +43,7 @@ component Alexnet{
fc(->=2) -> fc(->=2) ->
FullyConnected(units=1000) -> FullyConnected(units=1000) ->
Softmax() -> Softmax() ->
predictions predictions;
} }
} }
\ No newline at end of file
...@@ -43,7 +43,7 @@ component AlexnetInvalid{ ...@@ -43,7 +43,7 @@ component AlexnetInvalid{
fc(->=2) -> fc(->=2) ->
FullyConnected(units=1000) -> FullyConnected(units=1000) ->
Softmax() -> Softmax() ->
predictions predictions;
} }
} }
\ No newline at end of file
...@@ -43,7 +43,7 @@ component AlexnetInvalidType{ ...@@ -43,7 +43,7 @@ component AlexnetInvalidType{
fc(->=2) -> fc(->=2) ->
FullyConnected(units=1000) -> FullyConnected(units=1000) ->
Softmax() -> Softmax() ->
predictions predictions;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment