Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2Gluon
Commits
f03ad2f2
Commit
f03ad2f2
authored
Jun 25, 2019
by
Nicola Gatto
Browse files
Add semicolon to critic network template
parent
c1afed3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/templates/gluon/reinforcement/architecture/CriticArchitecture.ftl
View file @
f03ad2f2
...
...
@@ -3,5 +3,5 @@ architecture ${architectureName}() {
def
input
$
{
actionType
}
<#
if
actionRange
??>
(
<#
if
actionRange
.isLowerLimitInfinity
()
>
-oo
<#
else
>$
{
actionRange
.lowerLimit.get
()}
</#
if
>
:
<#
if
actionRange
.isUpperLimitInfinity
()
>
oo
<#
else
>$
{
actionRange
.upperLimit.get
()}
</#
if
>
)
</#
if
>^
{
<#
list
actionDimension
as
d
>$
{
d
}
<#
if
d
?
has_next
>
,
</#
if
></#
list
>
}
action
def
output
Q
(
-oo
:
oo
)
^
{
1
}
qvalue
$
{
implementation
}->
F
ullyConnected
(
units
=
1
)->
qvalue
$
{
implementation
}->
F
ullyConnected
(
units
=
1
)->
qvalue
;
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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