Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
EMADL2CPP
Commits
30f84313
Commit
30f84313
authored
Mar 08, 2019
by
nilsfreyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor bug fixes
parent
89f8039f
Pipeline
#110025
passed with stage
in 3 minutes and 15 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/test/java/de/monticore/lang/monticar/emadl/IntegrationCaffe2Test.java
.../monticore/lang/monticar/emadl/IntegrationCaffe2Test.java
+1
-1
src/test/java/de/monticore/lang/monticar/emadl/IntegrationMXNetTest.java
...e/monticore/lang/monticar/emadl/IntegrationMXNetTest.java
+1
-1
No files found.
src/test/java/de/monticore/lang/monticar/emadl/IntegrationCaffe2Test.java
View file @
30f84313
...
...
@@ -74,7 +74,7 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest {
public
void
testDontRetrain1
()
{
// The training hash is stored during the first training, so the second one is skipped
Log
.
getFindings
().
clear
();
String
[]
args
=
{
"-m"
,
"src/test/resources/models/"
,
"-r"
,
"
simple
simpleCifar10.Cifar10Classifier"
,
"-b"
,
"CAFFE2"
};
String
[]
args
=
{
"-m"
,
"src/test/resources/models/"
,
"-r"
,
"simpleCifar10.Cifar10Classifier"
,
"-b"
,
"CAFFE2"
};
EMADLGeneratorCli
.
main
(
args
);
assertTrue
(
Log
.
getFindings
().
isEmpty
());
...
...
src/test/java/de/monticore/lang/monticar/emadl/IntegrationMXNetTest.java
View file @
30f84313
...
...
@@ -46,7 +46,7 @@ public class IntegrationMXNetTest extends AbstractSymtabTest {
private
void
createHashFile
()
{
try
{
cifarTrainingHashFile
.
toFile
().
getParentFile
().
mkdirs
();
List
<
String
>
lines
=
Arrays
.
asList
(
"
AF9A637D700CB002266D20BF242F4A59#27150AFBB0093AE0914C701ECA0E0040
#C4C23549E737A759721D6694C75D9771#5AF0CE68E408E8C1F000E49D72AC214A"
);
List
<
String
>
lines
=
Arrays
.
asList
(
"
39253EC049D4A4E5FA0536AD34874B9D#1DBAEE1B1BD83FB7CB5F70AE91B29638
#C4C23549E737A759721D6694C75D9771#5AF0CE68E408E8C1F000E49D72AC214A"
);
Files
.
write
(
cifarTrainingHashFile
,
lines
,
Charset
.
forName
(
"UTF-8"
));
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment