Commit 08256da2 authored by Bernhard Rumpe's avatar Bernhard Rumpe

BR-sy

parent 99b141ce
Pipeline #175146 failed with stages
in 1 minute and 20 seconds
# (c) https://github.com/MontiCore/monticore
# Java Maven CircleCI 2.0 configuration file
#
......
# (c) https://github.com/MontiCore/monticore
stages:
- windows
......
# (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"
......
<!-- (c) https://github.com/MontiCore/monticore -->
![pipeline](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMADL2CPP/badges/master/build.svg)
![coverage](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/generators/EMADL2CPP/badges/master/coverage.svg)
# EMADL2CPP
......
<!-- (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">
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.emadl.generator;
......
/**
*
* ******************************************************************************
* 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.emadl.generator;
import de.monticore.ModelingLanguageFamily;
......
/**
*
* ******************************************************************************
* 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.emadl.generator;
import com.google.common.base.Charsets;
......
/**
*
* ******************************************************************************
* 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.emadl.generator;
import de.se_rwth.commons.logging.Log;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.emadl.generator.reinforcementlearning;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.instanceStructure.EMAComponentInstanceSymbol;
......
/* (c) https://github.com/MontiCore/monticore */
#ifndef CNNTRANSLATOR_H
#define CNNTRANSLATOR_H
#include <armadillo>
......
/**
*
* ******************************************************************************
* 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.emadl;
import de.monticore.lang.monticar.emadl.generator.EMADLAbstractSymtab;
......
/**
*
* ******************************************************************************
* 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.emadl;
import de.monticore.lang.monticar.emadl.generator.Backend;
......
/**
*
* ******************************************************************************
* 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.emadl;
import org.junit.Ignore;
......
/**
*
* ******************************************************************************
* 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.emadl;
import de.monticore.lang.monticar.emadl.generator.EMADLGeneratorCli;
......
/**
*
* ******************************************************************************
* 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.emadl;
import org.junit.Ignore;
......
/* (c) https://github.com/MontiCore/monticore */
package de.monticore.lang.monticar.emadl;
import de.monticore.lang.monticar.emadl.generator.EMADLGeneratorCli;
......
/**
*
* ******************************************************************************
* 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.emadl;
import de.monticore.lang.monticar.emadl.generator.Backend;
......
/**
*
* ******************************************************************************
* 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.emadl;
import de.monticore.lang.embeddedmontiarc.embeddedmontiarc._symboltable.cncModel.EMAComponentSymbol;
......
/* (c) https://github.com/MontiCore/monticore */
component Add{
ports
in (0 m : 10 m) a,
......
/* (c) https://github.com/MontiCore/monticore */
configuration Alexnet{
num_epoch : 100
batch_size : 500
......
/* (c) https://github.com/MontiCore/monticore */
component Alexnet{
ports in Z(0:255)^{3, 224, 224} image,
out Q(0:1)^{1000} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
package CalculatorTest;
import NumberDetector;
......
/* (c) https://github.com/MontiCore/monticore */
package CalculatorTest;
component NumberDetector{
......
/* (c) https://github.com/MontiCore/monticore */
package InstanceTest;
component CalculateClassB{
......
/* (c) https://github.com/MontiCore/monticore */
package InstanceTest;
import NetworkB;
import CalculateClassB;
......
/* (c) https://github.com/MontiCore/monticore */
configuration NetworkB{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
package InstanceTest;
component NetworkB<Z classes = 10> (Z convChannels){
......
/* (c) https://github.com/MontiCore/monticore */
configuration NetworkB_net2{
num_epoch:10
batch_size:32
......
/* (c) https://github.com/MontiCore/monticore */
component InvalidLayerInput{
ports in Z(0:255)^{3, 224, 224} image[2],
out Q(0:1)^{10} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
configuration Invariant{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
component Invariant{
ports in Z(0:3)^{1} data[2],
out Q(0:1)^{4} pred[3];
......
/* (c) https://github.com/MontiCore/monticore */
configuration MultipleInputs{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
component MultipleInputs{
ports in Z(0:255)^{3, 32, 32} data[2],
out Q(0:1)^{10} softmax;
......
/* (c) https://github.com/MontiCore/monticore */
configuration MultipleOutputs{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
component MultipleOutputs{
ports in Z(0:255)^{3, 32, 32} data,
out Q(0:1)^{10} pred[2];
......
/* (c) https://github.com/MontiCore/monticore */
configuration MultipleOutputs{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
component MultipleOutputs{
ports in Q(-oo:+oo)^{10,1,1} data,
out Q(0:1)^{4} pred[2];
......
/* (c) https://github.com/MontiCore/monticore */
configuration MultipleStreams{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
component MultipleStreams{
ports in Z(0:255)^{3, 32, 32} data[2],
out Q(0:1)^{10} softmax[2];
......
/* (c) https://github.com/MontiCore/monticore */
configuration RNNtest{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
component RNNtest{
ports in Q(-oo:oo)^{50, 30001} source[2],
out Q(-oo:oo)^{50, 30001} target[2];
......
/* (c) https://github.com/MontiCore/monticore */
configuration ResNeXt50{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
component ResNeXt50{
ports in Z(0:255)^{3, 224, 224} image,
out Q(0:1)^{1000} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
configuration ResNet152{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
component ResNet152{
ports in Z(0:255)^{3, 224, 224} image,
out Q(0:1)^{1000} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
configuration ResNet34{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
component ResNet34{
ports in Z(0:255)^{3, 224, 224} image,
out Q(0:1)^{1000} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
configuration ThreeInputCNN_M14{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
component ThreeInputCNN_M14{
ports in Z(0:255)^{3, 224, 224} image[3],
out Q(0:1)^{10} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
configuration VGG16{
num_epoch:10
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
component VGG16{
ports in Z(0:255)^{3, 224, 224} image,
out Q(0:1)^{1000} predictions;
......
/* (c) https://github.com/MontiCore/monticore */
configuration Network{
num_epoch:11
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
package cNNCalculator;
component Network{
......
/* (c) https://github.com/MontiCore/monticore */
package cifar10;
component ArgMax<Z(1:oo) n = 2>{
......
/* (c) https://github.com/MontiCore/monticore */
package cifar10;
import Network;
import CalculateClass;
......
/* (c) https://github.com/MontiCore/monticore */
configuration CifarNetwork{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
package cifar10;
component CifarNetwork<Z(2:oo) classes = 10>{
......
/* (c) https://github.com/MontiCore/monticore */
package instanceTestCifar;
component ArgMax<Z(1:oo) n = 2>{
......
/* (c) https://github.com/MontiCore/monticore */
package instanceTestCifar;
import Network;
import CalculateClass;
......
/* (c) https://github.com/MontiCore/monticore */
configuration CifarNetwork{
num_epoch:10
batch_size:5
......
/* (c) https://github.com/MontiCore/monticore */
package instanceTestCifar;
component CifarNetwork<Z(2:oo) classes = 10>{
......
/* (c) https://github.com/MontiCore/monticore */
package instanceTestCifar;
import NetworkB;
import CalculateClassB;
......
/* (c) https://github.com/MontiCore/monticore */
package instanceTestCifar;
component ResultAdder{
......
/* (c) https://github.com/MontiCore/monticore */
package mnist;
component ArgMax<Z(1:oo) n = 2>{
......
/* (c) https://github.com/MontiCore/monticore */
configuration LeNetNetwork{
num_epoch:11
batch_size:64
......
/* (c) https://github.com/MontiCore/monticore */
package mnist;
component LeNetNetwork<Z(2:oo) classes = 10>{
......
/* (c) https://github.com/MontiCore/monticore */
package mnist;
component MnistClassifier{
......
/* (c) https://github.com/MontiCore/monticore */
package cartpole;
import cartpole.agent.*;
......
/* (c) https://github.com/MontiCore/monticore */
package cartpole;
conforms to de.monticore.lang.monticar.generator.roscpp.RosToEmamTagSchema;
......