Commit b38e6082 authored by Christian Fuß's avatar Christian Fuß
Browse files

progress, mainly debugging

parent b7c85c9d
......@@ -256,6 +256,14 @@ public class CNNArchSymbolTableCreator extends de.monticore.symboltable.CommonSy
UnrollDeclarationSymbol unrollDeclaration = (UnrollDeclarationSymbol) ast.getSymbolOpt().get();
unrollDeclaration.setBody((SerialCompositeElementSymbol) ast.getBody().getSymbolOpt().get());
try{
System.err.println("Body: " + (ast.getBody().getSymbolOpt().get().toString()));
System.err.println("Body2: " + (ast.getBody().getElementsList().toString()));
System.err.println("Body_Name: " + ast.getName());
}catch(Exception e){
e.printStackTrace();
}
List<VariableSymbol> parameters = new ArrayList<>(4);
for (ASTLayerParameter astParam : ast.getParametersList()){
VariableSymbol parameter = (VariableSymbol) astParam.getSymbolOpt().get();
......
......@@ -39,6 +39,8 @@ public class BeamSearchStart extends PredefinedUnrollDeclaration {
try {
System.err.println("TEST0: ");
System.err.println("LastElementSize-3: " + getAstNode().get().toString());
System.err.println("LastElementSize-2: " + getBody().getLastAtomicElements().toString());
//System.err.println("LastElementSize-1: " + layer.computeOutputTypes().toString());
//System.err.println("LastElementSize0: " + layer.getDeclaration().toString());
//System.err.println("LastElementSize0.5: " + layer.getDeclaration().getBody().toString());
......
Supports Markdown
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