Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
languages
CNNArchLang
Commits
12a572af
Commit
12a572af
authored
Jun 16, 2018
by
Thomas Michael Timmermanns
Browse files
Added parameter to generateTrainer method
parent
1a005c7b
Pipeline
#55977
passed with stages
in 3 minutes and 38 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
12a572af
#
#
# ******************************************************************************
# MontiCAR Modeling Family, www.se-rwth.de
# Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
# All rights reserved.
#
# This project is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 3.0 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this project. If not, see <http://www.gnu.org/licenses/>.
# *******************************************************************************
#
stages
:
-
windows
-
linux
...
...
pom.xml
View file @
12a572af
...
...
@@ -42,6 +42,7 @@
<mc.grammars.assembly.version>
0.0.6
</mc.grammars.assembly.version>
<SIUnit.version>
0.0.10-SNAPSHOT
</SIUnit.version>
<Common-MontiCar.version>
0.0.12
</Common-MontiCar.version>
<CNNTrain.version>
0.2.1-SNAPSHOT
</CNNTrain.version>
<Math.version>
0.0.11
</Math.version>
<!-- .. Libraries .................................................. -->
...
...
@@ -166,6 +167,21 @@
<version>
${commons-cli.version}
</version>
</dependency>
<dependency>
<groupId>
de.monticore.lang.monticar
</groupId>
<artifactId>
cnn-train
</artifactId>
<version>
${CNNTrain.version}
</version>
</dependency>
<dependency>
<groupId>
de.monticore.lang.monticar
</groupId>
<artifactId>
cnn-train
</artifactId>
<version>
${CNNTrain.version}
</version>
<classifier>
${grammars.classifier}
</classifier>
<scope>
provided
</scope>
</dependency>
<!-- .. Test Libraries ............................................... -->
<dependency>
...
...
settings.xml
View file @
12a572af
<?xml version="1.0" encoding="UTF-8"?>
<!--
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************
-->
<settings
xmlns=
"http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/CNNArchGenerator.java
View file @
12a572af
...
...
@@ -39,7 +39,7 @@ public interface CNNArchGenerator {
void
generate
(
Scope
scope
,
String
rootModelName
);
Map
<
String
,
String
>
generateTrainer
(
List
<
ConfigurationSymbol
>
configurations
,
List
<
String
>
instanceNames
);
Map
<
String
,
String
>
generateTrainer
(
List
<
ConfigurationSymbol
>
configurations
,
List
<
String
>
instanceNames
,
String
mainComponentName
);
//check cocos with CNNArchCocos.checkAll(architecture) before calling this method.
Map
<
String
,
String
>
generateStrings
(
ArchitectureSymbol
architecture
);
...
...
Write
Preview
Supports
Markdown
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