Commit 5b8f3a4c authored by Thomas Michael Timmermanns's avatar Thomas Michael Timmermanns
Browse files

Changed package

parent 4a48f148
Pipeline #56345 failed with stages
in 14 seconds
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>de.monticore.lang.monticar.cnnarch.generator.CNNArch2MxNetCli</mainClass> <mainClass>de.monticore.lang.monticar.cnnarch.mxnetgenerator.CNNArch2MxNetCli</mainClass>
</manifest> </manifest>
</archive> </archive>
<descriptorRefs> <descriptorRefs>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.lang.monticar.cnnarch._symboltable.ArchTypeSymbol; import de.monticore.lang.monticar.cnnarch._symboltable.ArchTypeSymbol;
import de.monticore.lang.monticar.cnnarch._symboltable.ArchitectureElementSymbol; import de.monticore.lang.monticar.cnnarch._symboltable.ArchitectureElementSymbol;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.io.paths.ModelPath; import de.monticore.io.paths.ModelPath;
import de.monticore.lang.monticar.cnnarch.CNNArchGenerator; import de.monticore.lang.monticar.cnnarch.CNNArchGenerator;
...@@ -123,18 +123,18 @@ public class CNNArch2MxNet implements CNNArchGenerator { ...@@ -123,18 +123,18 @@ public class CNNArch2MxNet implements CNNArchGenerator {
private void checkValidGeneration(ArchitectureSymbol architecture){ private void checkValidGeneration(ArchitectureSymbol architecture){
if (architecture.getInputs().size() > 1){ if (architecture.getInputs().size() > 1){
Log.error("This cnn architecture has multiple inputs, " + Log.error("This cnn architecture has multiple inputs, " +
"which is currently not supported by the generator. " "which is currently not supported by the mxnetgenerator. "
, architecture.getSourcePosition()); , architecture.getSourcePosition());
} }
if (architecture.getOutputs().size() > 1){ if (architecture.getOutputs().size() > 1){
Log.error("This cnn architecture has multiple outputs, " + Log.error("This cnn architecture has multiple outputs, " +
"which is currently not supported by the generator. " "which is currently not supported by the mxnetgenerator. "
, architecture.getSourcePosition()); , architecture.getSourcePosition());
} }
if (architecture.getOutputs().get(0).getDefinition().getType().getWidth() != 1 || if (architecture.getOutputs().get(0).getDefinition().getType().getWidth() != 1 ||
architecture.getOutputs().get(0).getDefinition().getType().getHeight() != 1){ architecture.getOutputs().get(0).getDefinition().getType().getHeight() != 1){
Log.error("This cnn architecture has a multi-dimensional output, " + Log.error("This cnn architecture has a multi-dimensional output, " +
"which is currently not supported by the generator." "which is currently not supported by the mxnetgenerator."
, architecture.getSourcePosition()); , architecture.getSourcePosition());
} }
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import org.apache.commons.cli.*; import org.apache.commons.cli.*;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.lang.monticar.cnnarch._symboltable.*; import de.monticore.lang.monticar.cnnarch._symboltable.*;
import de.monticore.lang.monticar.cnnarch.predefined.Sigmoid; import de.monticore.lang.monticar.cnnarch.predefined.Sigmoid;
......
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.lang.monticar.cnntrain._symboltable.*; import de.monticore.lang.monticar.cnntrain._symboltable.*;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.lang.monticar.cnnarch._symboltable.*; import de.monticore.lang.monticar.cnnarch._symboltable.*;
import de.monticore.lang.monticar.cnnarch.predefined.Convolution; import de.monticore.lang.monticar.cnnarch.predefined.Convolution;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
//can be removed //can be removed
public enum Target { public enum Target {
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch.generator; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.se_rwth.commons.logging.Log; import de.se_rwth.commons.logging.Log;
import freemarker.template.Configuration; import freemarker.template.Configuration;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.ModelingLanguageFamily; import de.monticore.ModelingLanguageFamily;
import de.monticore.io.paths.ModelPath; import de.monticore.io.paths.ModelPath;
......
...@@ -18,11 +18,9 @@ ...@@ -18,11 +18,9 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.io.paths.ModelPath; import de.monticore.io.paths.ModelPath;
import de.monticore.lang.monticar.cnnarch.generator.CNNArch2MxNet;
import de.monticore.lang.monticar.cnnarch.generator.CNNArch2MxNetCli;
import de.monticore.lang.monticar.cnntrain._cocos.CNNTrainCocos; import de.monticore.lang.monticar.cnntrain._cocos.CNNTrainCocos;
import de.monticore.lang.monticar.cnntrain._symboltable.CNNTrainCompilationUnitSymbol; import de.monticore.lang.monticar.cnntrain._symboltable.CNNTrainCompilationUnitSymbol;
import de.monticore.lang.monticar.cnntrain._symboltable.CNNTrainLanguage; import de.monticore.lang.monticar.cnntrain._symboltable.CNNTrainLanguage;
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* License along with this project. If not, see <http://www.gnu.org/licenses/>. * License along with this project. If not, see <http://www.gnu.org/licenses/>.
* ******************************************************************************* * *******************************************************************************
*/ */
package de.monticore.lang.monticar.cnnarch; package de.monticore.lang.monticar.cnnarch.mxnetgenerator;
import de.monticore.lang.monticar.cnnarch._parser.CNNArchParser; import de.monticore.lang.monticar.cnnarch._parser.CNNArchParser;
import de.monticore.lang.monticar.cnnarch._symboltable.CNNArchCompilationUnitSymbol; import de.monticore.lang.monticar.cnnarch._symboltable.CNNArchCompilationUnitSymbol;
......
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