Skip to content

Commit 767d115

Browse files
committed
Add Products and HLists to Builtins
1 parent 862cc16 commit 767d115

File tree

2 files changed

+10
-2
lines changed
  • plugins-Builtins/src/main

2 files changed

+10
-2
lines changed

plugins-Builtins/src/main/scala-2.11/com/thoughtworks/deeplearning/plugins/Builtins.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ trait Builtins
103103
with INDArrayLiterals
104104
with INDArrayWeights
105105
with INDArrayLayers
106-
with CumulativeINDArrayLayers {
106+
with CumulativeINDArrayLayers
107+
with HLists
108+
with Products {
107109

108110
trait ImplicitsApi
109111
extends super[Layers].ImplicitsApi
@@ -118,6 +120,8 @@ trait Builtins
118120
with super[INDArrayTraining].ImplicitsApi
119121
with super[INDArrayLiterals].ImplicitsApi
120122
with super[INDArrayLayers].ImplicitsApi
123+
with super[HLists].ImplicitsApi
124+
with super[Products].ImplicitsApi
121125

122126
type Implicits <: ImplicitsApi
123127

plugins-Builtins/src/main/scala-2.12/com/thoughtworks/deeplearning/plugins/Builtins.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ trait Builtins
2020
with DoubleLiterals
2121
with DoubleWeights
2222
with DoubleLayers
23-
with CumulativeDoubleLayers {
23+
with CumulativeDoubleLayers
24+
with HLists
25+
with Products {
2426

2527
trait ImplicitsApi
2628
extends super[Layers].ImplicitsApi
@@ -32,6 +34,8 @@ trait Builtins
3234
with super[DoubleTraining].ImplicitsApi
3335
with super[DoubleLiterals].ImplicitsApi
3436
with super[DoubleLayers].ImplicitsApi
37+
with super[HLists].ImplicitsApi
38+
with super[Products].ImplicitsApi
3539

3640
type Implicits <: ImplicitsApi
3741

0 commit comments

Comments
 (0)