grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
relu
grain
chain
///// Unary functions rectified linear unit nonlinearity
auto
relu
(
T
size_t
dim
alias
Storage
)
(
Variable
!(
T
,
dim
,
Storage
)
x
)
Meta
Source
See Implementation
grain
chain
functions
abs
addVec
convolution
cos
crossEntropy
dropout
exp
log
logSoftmax
matMul
neg
negativeLogLikelihood
opBinaryFunc
pow
reciprocal
relu
sigmoid
sin
squeeze
sum
tan
tanh
unsqueeze
view
structs
Convolution
Embedding
Linear
///// Unary functions rectified linear unit nonlinearity