Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
CNNTrainLang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
languages
CNNTrainLang
Commits
1422c428
Commit
1422c428
authored
Jan 02, 2020
by
Julian Dierkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed ImgResize Parameter because we have Preprocessing now
parent
87b2c233
Pipeline
#223799
failed with stages
in 3 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
21 deletions
+1
-21
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
+0
-2
src/main/java/de/monticore/lang/monticar/cnntrain/_cocos/ParameterAlgorithmMapping.java
...g/monticar/cnntrain/_cocos/ParameterAlgorithmMapping.java
+1
-2
src/main/java/de/monticore/lang/monticar/cnntrain/_symboltable/CNNTrainSymbolTableCreator.java
...car/cnntrain/_symboltable/CNNTrainSymbolTableCreator.java
+0
-14
src/main/java/de/monticore/lang/monticar/cnntrain/helper/ConfigEntryNameConstants.java
...ng/monticar/cnntrain/helper/ConfigEntryNameConstants.java
+0
-3
No files found.
src/main/grammars/de/monticore/lang/monticar/CNNTrain.mc4
View file @
1422c428
...
@@ -259,8 +259,6 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
...
@@ -259,8 +259,6 @@ grammar CNNTrain extends de.monticore.lang.monticar.Common2, de.monticore.Number
QNetworkEntry
implements
ConfigEntry
=
name
:
"qnet_name"
":"
value
:
ComponentNameValue
;
QNetworkEntry
implements
ConfigEntry
=
name
:
"qnet_name"
":"
value
:
ComponentNameValue
;
PreprocessingEntry
implements
ConfigEntry
=
name
:
"preprocessing_name"
":"
value
:
ComponentNameValue
;
PreprocessingEntry
implements
ConfigEntry
=
name
:
"preprocessing_name"
":"
value
:
ComponentNameValue
;
ImgResizeEntry
implements
ConfigEntry
=
name
:
"img_resize"
":"
value
:
IntegerTupelValue
;
//
Noise
Distribution
Creator
//
Noise
Distribution
Creator
NoiseDistributionEntry
implements
MultiParamConfigEntry
=
name
:
"noise_distribution"
":"
value
:
NoiseDistributionValue
;
NoiseDistributionEntry
implements
MultiParamConfigEntry
=
name
:
"noise_distribution"
":"
value
:
NoiseDistributionValue
;
interface
NoiseDistributionValue
extends
MultiParamValue
;
interface
NoiseDistributionValue
extends
MultiParamValue
;
...
...
src/main/java/de/monticore/lang/monticar/cnntrain/_cocos/ParameterAlgorithmMapping.java
View file @
1422c428
...
@@ -121,8 +121,7 @@ class ParameterAlgorithmMapping {
...
@@ -121,8 +121,7 @@ class ParameterAlgorithmMapping {
private
static
final
List
<
Class
>
GENERAL_GAN_PARAMETERS
=
Lists
.
newArrayList
(
private
static
final
List
<
Class
>
GENERAL_GAN_PARAMETERS
=
Lists
.
newArrayList
(
ASTDiscriminatorNetworkEntry
.
class
,
ASTDiscriminatorNetworkEntry
.
class
,
ASTQNetworkEntry
.
class
,
ASTQNetworkEntry
.
class
,
ASTNoiseDistributionEntry
.
class
,
ASTNoiseDistributionEntry
.
class
ASTImgResizeEntry
.
class
);
);
ParameterAlgorithmMapping
()
{
ParameterAlgorithmMapping
()
{
...
...
src/main/java/de/monticore/lang/monticar/cnntrain/_symboltable/CNNTrainSymbolTableCreator.java
View file @
1422c428
...
@@ -512,20 +512,6 @@ public class CNNTrainSymbolTableCreator extends CNNTrainSymbolTableCreatorTOP {
...
@@ -512,20 +512,6 @@ public class CNNTrainSymbolTableCreator extends CNNTrainSymbolTableCreatorTOP {
configuration
.
getEntryMap
().
put
(
node
.
getName
(),
entry
);
configuration
.
getEntryMap
().
put
(
node
.
getName
(),
entry
);
}
}
@Override
public
void
visit
(
ASTImgResizeEntry
node
)
{
EntrySymbol
width_entry
=
new
EntrySymbol
(
node
.
getName
());
EntrySymbol
height_entry
=
new
EntrySymbol
(
node
.
getName
());
width_entry
.
setValue
(
getValueSymbolForInteger
(
node
.
getValue
().
getFirst
()));
height_entry
.
setValue
(
getValueSymbolForInteger
(
node
.
getValue
().
getSecond
()));
addToScopeAndLinkWithNode
(
width_entry
,
node
);
addToScopeAndLinkWithNode
(
height_entry
,
node
);
configuration
.
getEntryMap
().
put
(
node
.
getName
()
+
"_width"
,
width_entry
);
configuration
.
getEntryMap
().
put
(
node
.
getName
()
+
"_height"
,
height_entry
);
}
@Override
@Override
public
void
visit
(
ASTReplayMemoryEntry
node
)
{
public
void
visit
(
ASTReplayMemoryEntry
node
)
{
processMultiParamConfigVisit
(
node
,
node
.
getValue
().
getName
());
processMultiParamConfigVisit
(
node
,
node
.
getValue
().
getName
());
...
...
src/main/java/de/monticore/lang/monticar/cnntrain/helper/ConfigEntryNameConstants.java
View file @
1422c428
...
@@ -50,7 +50,4 @@ public class ConfigEntryNameConstants {
...
@@ -50,7 +50,4 @@ public class ConfigEntryNameConstants {
public
static
final
String
QNETWORK_NAME
=
"qnet_name"
;
public
static
final
String
QNETWORK_NAME
=
"qnet_name"
;
public
static
final
String
PREPROCESSING_NAME
=
"preprocessing_name"
;
public
static
final
String
PREPROCESSING_NAME
=
"preprocessing_name"
;
public
static
final
String
NOISE_DISTRIBUTION
=
"noise_distribution"
;
public
static
final
String
NOISE_DISTRIBUTION
=
"noise_distribution"
;
public
static
final
String
IMG_RESIZE
=
"img_resize"
;
public
static
final
String
IMG_RESIZE_WIDTH
=
"img_resize_width"
;
public
static
final
String
IMG_RESIZE_HEIGHT
=
"img_resize_height"
;
}
}
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