golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
LiftPool2D.liftUp
golem
nn
LiftPool2D
Undocumented in source. Be warned that the author may not have intended to support it.
class
LiftPool2D
(T, size_t Height, size_t Width, UseGradient useGradient = UseGradient.yes)
auto
liftUp
(
U
)
(
U
x
)
if
(
isTensor
!
U
&&
U.staticShape.length
== 4
&&
U.staticShape
[2] ==
Height
&&
U.staticShape
[3] ==
Width
)
Meta
Source
See Implementation
golem
nn
LiftPool2D
aliases
parameters
constructors
this
functions
liftUp
manifest constants
HalfH
HalfW
variables
predictH
predictW
updateH
updateW