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
CNNArch2X
Commits
b2dda75a
Commit
b2dda75a
authored
Oct 22, 2020
by
Julian Johannes Steinsberger-Dührßen
Browse files
misc
parent
39c80bc0
Pipeline
#348411
failed with stage
in 55 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnnarch/generator/ArchitectureElementData.java
View file @
b2dda75a
...
...
@@ -250,10 +250,6 @@ public class ArchitectureElementData {
public
int
getNumHeads
(){
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
NUM_HEADS_NAME
).
get
();
}
public
String
getStoreDistMeasure
(){
return
getLayerSymbol
().
getStringValue
(
AllPredefinedLayers
.
STORE_DIST_MEASURE_NAME
).
get
();
}
public
int
getReplayInterval
(){
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
REPLAY_INTERVAL_NAME
).
get
();
...
...
@@ -271,8 +267,8 @@ public class ArchitectureElementData {
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
REPLAY_GRADIENT_STEPS_NAME
).
get
();
}
public
double
get
Replay
MemoryStoreProb
(){
return
getLayerSymbol
().
getDoubleValue
(
AllPredefinedLayers
.
REPLAY_
MEMORY_STORE_PROB_NAME
).
get
();
public
double
getMemoryStoreProb
(){
return
getLayerSymbol
().
getDoubleValue
(
AllPredefinedLayers
.
MEMORY_STORE_PROB_NAME
).
get
();
}
public
int
getMaxStoredSamples
(){
...
...
@@ -287,16 +283,16 @@ public class ArchitectureElementData {
return
getLayerSymbol
().
getBooleanValue
(
AllPredefinedLayers
.
USE_REPLAY_NAME
).
get
();
}
public
boolean
getUseLocalAdaption
(){
return
getLayerSymbol
().
getBooleanValue
(
AllPredefinedLayers
.
USE_LOCAL_ADAPTION_NAME
).
get
();
public
boolean
getUseLocalAdapt
at
ion
(){
return
getLayerSymbol
().
getBooleanValue
(
AllPredefinedLayers
.
USE_LOCAL_ADAPT
AT
ION_NAME
).
get
();
}
public
int
getLocalAdaptionK
(){
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
LOCAL_ADAPTION_K_NAME
).
get
();
public
int
getLocalAdapt
at
ionK
(){
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
LOCAL_ADAPT
AT
ION_K_NAME
).
get
();
}
public
int
getlocalAdaptionGradientSteps
(){
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
LOCAL_ADAPTION_GRADIENT_STEPS_NAME
).
get
();
public
int
getlocalAdapt
at
ionGradientSteps
(){
return
getLayerSymbol
().
getIntValue
(
AllPredefinedLayers
.
LOCAL_ADAPT
AT
ION_GRADIENT_STEPS_NAME
).
get
();
}
public
String
getQueryNetDir
(){
...
...
Write
Preview
Supports
Markdown
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