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
EmbeddedMontiArcDL
Commits
4d157843
Commit
4d157843
authored
Aug 23, 2019
by
Bernhard Rumpe
Browse files
BR-sy
parent
cc442dbf
Pipeline
#175302
passed with stages
in 4 minutes and 24 seconds
Changes
77
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/test/resources/models/cifar10/Cifar10Classifier.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
cifar10
;
import
Network
;
import
CalculateClass
;
...
...
@@ -13,4 +14,4 @@ component Cifar10Classifier{
connect
image
->
net
.
data
;
connect
net
.
softmax
->
calculateClass
.
inputVector
;
connect
calculateClass
.
maxIndex
->
classIndex
;
}
\ No newline at end of file
}
src/test/resources/models/cifar10/CifarNetwork.cnnt
View file @
4d157843
/* (c) https://github.com/MontiCore/monticore */
configuration CifarNetwork{
num_epoch:10
batch_size:64
...
...
src/test/resources/models/cifar10/CifarNetwork.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
cifar10
;
component
CifarNetwork
<
Z
(
2
:
oo
)
classes
=
10
>{
...
...
@@ -37,4 +38,4 @@ component CifarNetwork<Z(2:oo) classes = 10>{
softmax
;
}
}
\ No newline at end of file
}
src/test/resources/models/optimization/HS71.emam
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
//
example
problem
,
number
71
from
the
Hock
-
Schittkowsky
test
suite
//
W
.
Hock
and
K
.
Schittkowski
.
//
Test
examples
for
nonlinear
programming
codes
.
...
...
@@ -23,4 +24,4 @@ component HS71{
xOut
=
x
;
yOut
=
y
;
}
}
\ No newline at end of file
}
src/test/resources/models/optimization/ScalarMinimizationTest.emam
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
de
.
rwth
.
monticar
.
optimization
;
component
ScalarMinimizationTest
{
...
...
@@ -14,4 +15,4 @@ component ScalarMinimizationTest{
xOut
=
x
;
yOut
=
y
;
}
}
\ No newline at end of file
}
src/test/resources/models/optimization/TransportationProblem.emam
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
//
transportation
problem
example
(
linear
)
//
see
https
://
www
.
gams
.
com
/
products
/
simple
-
example
/
...
...
@@ -32,4 +33,4 @@ component TransportationProblem{
xOut
=
x
;
yOut
=
y
;
}
}
\ No newline at end of file
}
src/test/resources/models/simulator/MainController.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
simulator
;
import
SteerController
;
import
BrakeController
;
...
...
src/test/resources/models/simulator/SteerController.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
simulator
;
component
SteerController
{
...
...
src/test/resources/models/simulator/SteeringAngleCalculator.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
simulator
;
component
SteeringAngleCalculator
{
...
...
@@ -73,4 +74,4 @@ component SteeringAngleCalculator{
end
newSteeringAngle
=
-
angle
;
}
}
\ No newline at end of file
}
src/test/resources/tagging/AlexNet.tag
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
tagging
;
conforms
to
dltag
.
DataPathTagSchema
;
...
...
src/test/resources/tagging/Alexnet.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
tagging
;
component
Alexnet
{
...
...
@@ -46,4 +47,4 @@ component Alexnet{
predictions
;
}
}
\ No newline at end of file
}
src/test/resources/tagging/Alexnet_a1.cnnt
View file @
4d157843
/* (c) https://github.com/MontiCore/monticore */
configuration Alexnet_a1{
num_epoch:10
batch_size:32
...
...
src/test/resources/tagging/Alexnet_a2.cnnt
View file @
4d157843
/* (c) https://github.com/MontiCore/monticore */
configuration Alexnet_a2{
num_epoch:10
batch_size:64
...
...
src/test/resources/tagging/CorrectTypeInstance.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
tagging
;
component
CorrectTypeInstance
{
...
...
src/test/resources/tagging/CorrectTypeNet.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
tagging
;
component
CorrectTypeNet
{
...
...
src/test/resources/tagging/CorrectTypeNet.tag
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
tagging
;
conforms
to
dltag
.
DataPathTagSchema
;
...
...
src/test/resources/tagging/Parent.emadl
View file @
4d157843
/*
(
c
)
https
://
github
.
com
/
MontiCore
/
monticore
*/
package
tagging
;
component
Parent
{
...
...
Prev
1
2
3
4
Next
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