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
languages
CNNArchLang
Commits
1dd77007
Commit
1dd77007
authored
Sep 23, 2019
by
Christian Fuß
Browse files
removed depth parameter for BeamSearch
parent
2bff4fef
Pipeline
#186537
passed with stages
in 19 minutes and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/monticore/lang/monticar/cnnarch/predefined/AllPredefinedLayers.java
View file @
1dd77007
...
...
@@ -78,7 +78,6 @@ public class AllPredefinedLayers {
public
static
final
String
FLATTEN_PARAMETER_NAME
=
"flatten"
;
public
static
final
String
MAX_LENGTH_NAME
=
"max_length"
;
public
static
final
String
WIDTH_NAME
=
"width"
;
public
static
final
String
DEPTH_NAME
=
"depth"
;
//possible String values
public
static
final
String
PADDING_VALID
=
"valid"
;
...
...
src/main/java/de/monticore/lang/monticar/cnnarch/predefined/BeamSearch.java
View file @
1dd77007
...
...
@@ -42,10 +42,6 @@ public class BeamSearch extends UnrollDeclarationSymbol {
new
ParameterSymbol
.
Builder
()
.
name
(
AllPredefinedLayers
.
WIDTH_NAME
)
.
constraints
(
Constraints
.
INTEGER
,
Constraints
.
POSITIVE
)
.
build
(),
new
ParameterSymbol
.
Builder
()
.
name
(
AllPredefinedLayers
.
DEPTH_NAME
)
.
constraints
(
Constraints
.
INTEGER
,
Constraints
.
POSITIVE
)
.
build
()));
declaration
.
setParameters
(
parameters
);
return
declaration
;
...
...
Write
Preview
Markdown
is supported
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