Bug Fixes

parent 347b4103
Pipeline #286839 failed with stage
in 57 seconds
......@@ -285,14 +285,8 @@ public class ArchitectureElementData {
return getLayerSymbol().getStringValue(AllPredefinedLayers.QUERY_NET_PREFIX_NAME).get();
}
public List<Integer> getValueShape(){
if (getLayerSymbol().getIntValue(AllPredefinedLayers.VALUE_SHAPE_NAME).isPresent()){
List<Integer> list = new ArrayList<>();
list.add((Integer) getLayerSymbol().getIntValue(AllPredefinedLayers.VALUE_SHAPE_NAME).get());
return list;
}else{
return getLayerSymbol().getIntTupleValue(AllPredefinedLayers.VALUE_SHAPE_NAME).get();
}
public int getValuesDim(){
return getLayerSymbol().getIntValue(AllPredefinedLayers.VALUES_DIM_NAME).get();
}
@Nullable
......
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