File tree Expand file tree Collapse file tree 4 files changed +9
-13
lines changed
plugins-CumulativeFloatLayers
src/test/scala/com/thoughtworks/deeplearning/plugins Expand file tree Collapse file tree 4 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ libraryDependencies += "com.thoughtworks.each" %% "each" % "3.3.1" % Test
1111
1212scalacOptions += " -Ypartial-unification"
1313
14- addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-bangnotation" % " 1.0.0-RC9 " )
14+ addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-bangnotation" % " 1.0.0-RC10 " )
1515
16- addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-reseteverywhere" % " 1.0.0-RC9 " )
16+ addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-reseteverywhere" % " 1.0.0-RC10 " )
Original file line number Diff line number Diff line change @@ -390,12 +390,8 @@ final class CumulativeFloatLayersSpec
390390 val weight = hyperparameters.FloatWeight (1.0f )
391391
392392 def myNetwork (input : Float ): hyperparameters.FloatLayer = {
393- // FIXME: inlining !-notation does not compile due to https://github.com/ThoughtWorksInc/Dsl.scala/issues/119
394- // 6.7f + !(input + weight) + weight + 5.5f
395-
396- val f = ! (input + weight)
397- 6.7f + f + weight + 5.5f
398- }: @ com.thoughtworks.dsl.Dsl .reset
393+ 6.7f + ! (input + weight) + weight + 5.5f
394+ }
399395
400396 def train (inputData : Float ): Future [Float ] = {
401397 myNetwork(inputData).train
Original file line number Diff line number Diff line change 1- libraryDependencies += " com.thoughtworks.dsl" %% " dsl" % " 1.0.0-RC9 "
1+ libraryDependencies += " com.thoughtworks.dsl" %% " dsl" % " 1.0.0-RC10 "
22
3- libraryDependencies += " com.thoughtworks.dsl" %% " domains-scalaz" % " 1.0.0-RC9 " % Test
3+ libraryDependencies += " com.thoughtworks.dsl" %% " domains-scalaz" % " 1.0.0-RC10 " % Test
44
5- addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-bangnotation" % " 1.0.0-RC9 " )
5+ addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-bangnotation" % " 1.0.0-RC10 " )
66
7- addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-reseteverywhere" % " 1.0.0-RC9 " )
7+ addCompilerPlugin(" com.thoughtworks.dsl" %% " compilerplugins-reseteverywhere" % " 1.0.0-RC10 " )
88
99fork in Test := true
1010
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ libraryDependencies += "com.thoughtworks.feature" %% "implicitapply" % "2.3.0-M8
66
77libraryDependencies += " com.thoughtworks.feature" %% " factory" % " 2.3.0-M8"
88
9- libraryDependencies += " com.thoughtworks.dsl" %% " dsl" % " 1.0.0-RC9 "
9+ libraryDependencies += " com.thoughtworks.dsl" %% " dsl" % " 1.0.0-RC10 "
You can’t perform that action at this time.
0 commit comments