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
generators
CNNArch2Caffe2
Commits
256bd875
Commit
256bd875
authored
Aug 23, 2019
by
Bernhard Rumpe
Browse files
BR-sy
parent
ea551e69
Pipeline
#175141
failed with stages
in 1 minute and 15 seconds
Changes
87
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.circleci/config.yml
View file @
256bd875
# (c) https://github.com/MontiCore/monticore
# Java Maven CircleCI 2.0 configuration file
#
...
...
.gitlab-ci.yml
View file @
256bd875
# (c) https://github.com/MontiCore/monticore
stages
:
-
windows
...
...
.travis.yml
View file @
256bd875
# (c) https://github.com/MontiCore/monticore
script
:
-
git checkout ${TRAVIS_BRANCH}
-
mvn clean install cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report --settings "settings.xml"
...
...
README.md
View file @
256bd875
<!-- (c) https://github.com/MontiCore/monticore -->


...
...
pom.xml
View file @
256bd875
<!-- (c) https://github.com/MontiCore/monticore -->
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
...
...
settings.xml
View file @
256bd875
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<settings
xmlns=
"http://maven.apache.org/SETTINGS/1.0.0"
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/ArchitectureElementData.java
View file @
256bd875
/**
*
* ******************************************************************************
* 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/>.
* *******************************************************************************
*/
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch._symboltable.ArchitectureElementSymbol
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArch2Caffe2.java
View file @
256bd875
/**
*
* ******************************************************************************
* 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/>.
* *******************************************************************************
*/
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch.generator.CNNArchGenerator
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArch2Caffe2ArchitectureSupportChecker.java
View file @
256bd875
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch.generator.ArchitectureSupportChecker
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArch2Caffe2Cli.java
View file @
256bd875
/**
*
* ******************************************************************************
* 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/>.
* *******************************************************************************
*/
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch.generator.CNNArchGenerator
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArch2Caffe2LayerSupportChecker.java
View file @
256bd875
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch.predefined.AllPredefinedLayers
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArch2Caffe2TrainParamSupportChecker.java
View file @
256bd875
/**
*
* ******************************************************************************
* 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/>.
* *******************************************************************************
*/
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch.generator.TrainParamSupportChecker
;
...
...
@@ -75,4 +56,4 @@ public class CNNArch2Caffe2TrainParamSupportChecker extends TrainParamSupportChe
this
.
unsupportedElemList
.
add
(
node
.
getName
());
}
}
\ No newline at end of file
}
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNArchTemplateController.java
View file @
256bd875
/**
*
* ******************************************************************************
* 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/>.
* *******************************************************************************
*/
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnnarch.generator.LayerNameCreator
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/CNNTrain2Caffe2.java
View file @
256bd875
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.io.paths.ModelPath
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/ConfigurationData.java
View file @
256bd875
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.monticore.lang.monticar.cnntrain._symboltable.*
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/caffe2generator/TemplateConfiguration.java
View file @
256bd875
/**
*
* ******************************************************************************
* 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/>.
* *******************************************************************************
*/
/* (c) https://github.com/MontiCore/monticore */
package
de.monticore.lang.monticar.cnnarch.caffe2generator
;
import
de.se_rwth.commons.logging.Log
;
...
...
src/main/resources/templates/caffe2/CNNCreator.ftl
View file @
256bd875
<#-- (c) https://github.com/MontiCore/monticore -->
from caffe2.python import workspace, core, model_helper, brew, optimizer
from caffe2.python.predictor import mobile_exporter
from caffe2.proto import caffe2_pb2
...
...
src/main/resources/templates/caffe2/CNNPredictor.ftl
View file @
256bd875
<#-- (c) https://github.com/MontiCore/monticore -->
#ifndef ${tc.fileNameWithoutEnding?upper_case}
#define ${tc.fileNameWithoutEnding?upper_case}
...
...
src/main/resources/templates/caffe2/CNNTrainer.ftl
View file @
256bd875
<#-- (c) https://github.com/MontiCore/monticore -->
from caffe2.python import workspace, core, model_helper, brew, optimizer
from caffe2.python.predictor import mobile_exporter
from caffe2.proto import caffe2_pb2
...
...
src/main/resources/templates/caffe2/elements/Add.ftl
View file @
256bd875
<#-- (c) https://github.com/MontiCore/monticore -->
<#-- This layer is currently not supported -->
Prev
1
2
3
4
5
Next
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