com
.
thoughtworks
.
deeplearning
hlist
package
hlist
Author:
杨博 (Yang Bo) <
[email protected]
>
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
hlist
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
::
[
Head <:
Type
[_, _]
,
Tail <:
HList
]
=
Type
[
shapeless.::
[
DataOf
[
Head
],
DataOf
[
Tail
]],
:+:
[
DeltaOf
[
Head
],
DeltaOf
[
Tail
]]]
final
class
HConsOps
[
Input <:
Batch
,
HeadData
,
HeadDelta
,
TailData <:
shapeless.HList
,
TailDelta <:
Coproduct
]
extends
AnyRef
type
HList
=
Type
[_ <:
shapeless.HList
, _ <:
Coproduct
]
final
class
HListOps
[
Input <:
Batch
,
TailData <:
shapeless.HList
,
TailDelta <:
Coproduct
]
extends
AnyRef
type
HNil
=
Type
[
shapeless.HNil
,
CNil
]
Value Members
val
HNil
:
hlist.layers.HNil
.type
implicit
def
hnilToLayer
[
InputData
,
InputDelta
]
(
implicit
inputType:
Type
[
InputData
,
InputDelta
]
)
:
Aux
[
hlist.layers.HNil
.type,
Aux
[
InputData
,
InputDelta
],
shapeless.HNil
,
CNil
]
package
layers
implicit
def
toHConsOps
[
From
,
Input <:
Batch
,
OutputData
,
OutputDelta
,
HeadData
,
HeadDelta
,
TailData <:
shapeless.HList
,
TailDelta <:
Coproduct
]
(
from:
From
)
(
implicit
toLayer:
Aux
[
From
,
Input
,
OutputData
,
OutputDelta
]
,
toHListLayer:
<:<
[
Aux
[
Input
,
Aux
[
OutputData
,
OutputDelta
]],
Aux
[
Input
,
Aux
[
shapeless.::
[
HeadData
,
TailData
],
:+:
[
HeadDelta
,
TailDelta
]]]]
)
:
HConsOps
[
Input
,
HeadData
,
HeadDelta
,
TailData
,
TailDelta
]
implicit
def
toHListOps
[
From
,
Input <:
Batch
,
TailData <:
shapeless.HList
,
TailDelta <:
Coproduct
]
(
from:
From
)
(
implicit
toLayer:
Aux
[
From
,
Input
,
TailData
,
TailDelta
]
)
:
HListOps
[
Input
,
TailData
,
TailDelta
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Author:
杨博 (Yang Bo) <[email protected]>